From c76a55f0e408c8b6030588c1d57ed2cf2ab50f6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Mon, 9 Nov 2020 10:19:49 +0100 Subject: [PATCH] move the port definition in docker-compose.override.yml --- doctrine/doctrine-bundle/1.6/manifest.json | 38 +++++++++++++--------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index d7810c70..e433759e 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -20,22 +20,28 @@ "\tapk del .pgsql-deps" ], "docker-compose": { - "services": [ - "db:", - " image: postgres:${POSTGRES_VERSION:-13}-alpine", - " environment:", - " POSTGRES_DB: ${POSTGRES_DB:-app}", - " # You should definitely change the password in production", - " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}", - " POSTGRES_USER: ${POSTGRES_USER:-symfony}", - " volumes:", - " - db-data:/var/lib/postgresql/data:rw", - " # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!", - " # - ./docker/db/data:/var/lib/postgresql/data:rw", - " # To expose the port on the host", - " # ports:", - " # - \"5432\"" - ], + "docker-compose.yml": { + "services": [ + "db:", + " image: postgres:${POSTGRES_VERSION:-13}-alpine", + " environment:", + " POSTGRES_DB: ${POSTGRES_DB:-app}", + " # You should definitely change the password in production", + " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}", + " POSTGRES_USER: ${POSTGRES_USER:-symfony}", + " volumes:", + " - db-data:/var/lib/postgresql/data:rw", + " # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!", + " # - ./docker/db/data:/var/lib/postgresql/data:rw" + ] + }, + "docker-compose.override.yml": { + "services": [ + "db:", + " ports:", + " - \"5432\"" + ] + }, "volumes": ["db-data:"] } }