@@ -292,7 +292,6 @@ services:
292292 # You can access the database via `adminer`.
293293 command : -c vibetype.jwt_expiry_duration='1 month' -c wal_level=logical
294294 environment :
295- POSTGRES_ADDITIONAL_DBS : grafana
296295 POSTGRES_DB_FILE : /run/secrets/postgres_db
297296 POSTGRES_PASSWORD_FILE : /run/secrets/postgres_password
298297 POSTGRES_USER_FILE : /run/secrets/postgres_user
@@ -302,8 +301,6 @@ services:
302301 secrets :
303302 - postgres_db
304303 - postgres_password
305- - postgres_role_service_grafana_password
306- - postgres_role_service_grafana_username
307304 - postgres_user
308305 # sysctls:
309306 # # Prevent Docker Swarm from killing connections (https://github.com/moby/moby/issues/31208)
@@ -312,7 +309,6 @@ services:
312309 # - net.ipv4.tcp_keepalive_probes=10
313310 volumes :
314311 - postgres_data:/var/lib/postgresql/data/
315- - ../production/configurations/postgres/docker-entrypoint-initdb.d/additional-databases.sh:/docker-entrypoint-initdb.d/additional-databases.sh:ro
316312 prometheus :
317313 # You can access the metrics monitoring at [prometheus.localhost](https://prometheus.localhost/).
318314 deploy :
@@ -388,6 +384,8 @@ services:
388384 # You cannot access the database migrations directly.
389385 image : maevsi/sqitch:dev
390386 secrets :
387+ - postgres_role_service_grafana_password
388+ - postgres_role_service_grafana_username
391389 - postgres_role_service_postgraphile_password
392390 - postgres_role_service_postgraphile_username
393391 - postgres_role_service_vibetype_password
0 commit comments