configure var-dump server in docker stack

This commit is contained in:
Julien Fastré 2024-02-14 09:43:25 +01:00
parent 008291bddb
commit eb3c561f85
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
2 changed files with 12 additions and 1 deletions

View File

@ -11,5 +11,8 @@ MAILER_URL=smtp://smtp:1025
PGADMIN_DEFAULT_EMAIL=admin@chill.social
PGADMIN_DEFAULT_PASSWORD=password
VAR_DUMPER_SERVER=dumper:9912
## Phpstorm IDE project path
PROJECT_DIR=

View File

@ -22,6 +22,14 @@ services:
- DATABASE_URL=postgresql://postgres:postgres@db:5432/postgres?serverVersion=14&charset=utf8
links:
- smtp
- dumper
dumper:
image: gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:latest
entrypoint: ["/usr/bin/env"]
command: ["bin/var-dump-server", "--host", "0.0.0.0:9912"]
volumes:
- .:/var/www/app
nginx:
volumes:
@ -97,5 +105,5 @@ services:
# volumes:
# - "./docker/pgadmin4/servers.json:/pgadmin4/servers.json:ro"
#