diff --git a/.env.dev b/.env.dev index 056a2e3..ac4caf3 100644 --- a/.env.dev +++ b/.env.dev @@ -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= diff --git a/docker-compose.override.dev.template.yml b/docker-compose.override.dev.template.yml index 54640ab..f6d5a92 100644 --- a/docker-compose.override.dev.template.yml +++ b/docker-compose.override.dev.template.yml @@ -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" # - +