Update docker-compose.yml

This seems to work, I needed to override the existing entrypoint
This commit is contained in:
Elliot Matson 2023-05-31 09:09:12 -05:00 committed by GitHub
parent bd7ba7cbd3
commit 8dff26414e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,13 +69,13 @@ services:
- pgadmin-config:/pgadmin4-config
- pgadmin:/var/lib/pgadmin
- *bk-location
entrypoint: "/bin/sh"
command:
- /bin/sh
- -c
- |
'mkdir /var/lib/pgadmin/storage/$${PGADMIN_DEFAULT_EMAIL//@/_}/'
'ln -s /backups /var/lib/pgadmin/storage/$${PGADMIN_DEFAULT_EMAIL//@/_}/'
'/entrypoint.sh'
mkdir -p /var/lib/pgadmin/storage/$${PGADMIN_DEFAULT_EMAIL//@/_}/
ln -s /backups /var/lib/pgadmin/storage/$${PGADMIN_DEFAULT_EMAIL//@/_}/
/entrypoint.sh
depends_on:
- postgres
- pgadmin-config