fix: dc error
This commit is contained in:
parent
047f1745f0
commit
133a80a70e
3 changed files with 10 additions and 2 deletions
|
@ -12,7 +12,7 @@ services:
|
||||||
DB_PASSWORD: shlink
|
DB_PASSWORD: shlink
|
||||||
DB_HOST: shlink-db
|
DB_HOST: shlink-db
|
||||||
env_file:
|
env_file:
|
||||||
- ../../env/shlink.env
|
- /etc/ixvd/secrets/env/shlink.env
|
||||||
depends_on:
|
depends_on:
|
||||||
- shlink-db
|
- shlink-db
|
||||||
networks:
|
networks:
|
||||||
|
|
8
tools/repo/check-docker-compose.sh
Normal file
8
tools/repo/check-docker-compose.sh
Normal 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
|
|
@ -12,4 +12,4 @@ for f in servers/$HOSTNAME/docker-compose.d/*.yml; do
|
||||||
dc_args="$dc_args -f $f"
|
dc_args="$dc_args -f $f"
|
||||||
done
|
done
|
||||||
|
|
||||||
docker-compose $dc_args $@
|
exec docker-compose $dc_args $@
|
Loading…
Reference in a new issue