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-config:/pgadmin4-config
- pgadmin:/var/lib/pgadmin - pgadmin:/var/lib/pgadmin
- *bk-location - *bk-location
entrypoint: "/bin/sh"
command: command:
- /bin/sh
- -c - -c
- | - |
'mkdir /var/lib/pgadmin/storage/$${PGADMIN_DEFAULT_EMAIL//@/_}/' mkdir -p /var/lib/pgadmin/storage/$${PGADMIN_DEFAULT_EMAIL//@/_}/
'ln -s /backups /var/lib/pgadmin/storage/$${PGADMIN_DEFAULT_EMAIL//@/_}/' ln -s /backups /var/lib/pgadmin/storage/$${PGADMIN_DEFAULT_EMAIL//@/_}/
'/entrypoint.sh' /entrypoint.sh
depends_on: depends_on:
- postgres - postgres
- pgadmin-config - pgadmin-config