weblate/ci/services-up
Michal Čihař 24ace43f98 ci: change way of configuring PostgreSQL
It seems that config location no longer works, pass args on command line
instead. That should be more future-proof as that is the documented
approach.
2023-09-19 20:55:30 +02:00

15 lines
236 B
Bash
Executable file

#!/bin/sh
# Copyright © Michal Čihař <michal@weblate.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
set -e
if [ ! -f services-up ] ; then
cd ci
fi
filename="docker-compose-$1.yml"
docker compose --file "$filename" up -d