fix: dc error

This commit is contained in:
Strix 2023-10-22 17:02:01 +02:00
parent 047f1745f0
commit 133a80a70e
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
3 changed files with 10 additions and 2 deletions

View file

@ -12,7 +12,7 @@ services:
DB_PASSWORD: shlink
DB_HOST: shlink-db
env_file:
- ../../env/shlink.env
- /etc/ixvd/secrets/env/shlink.env
depends_on:
- shlink-db
networks:

View file

@ -0,0 +1,8 @@
#!/bin/sh
set -e
for s in servers/*; do
echo "checking $s..."
HOSTNAME=$(echo $s | sed 's/servers\///') bash tools/server-docker-compose.sh config -q
done

View file

@ -12,4 +12,4 @@ for f in servers/$HOSTNAME/docker-compose.d/*.yml; do
dc_args="$dc_args -f $f"
done
docker-compose $dc_args $@
exec docker-compose $dc_args $@