Skip to content

Commit c76a55f

Browse files
dunglasfabpot
authored andcommitted
move the port definition in docker-compose.override.yml
1 parent 6a91adf commit c76a55f

File tree

1 file changed

+22
-16
lines changed

1 file changed

+22
-16
lines changed

doctrine/doctrine-bundle/1.6/manifest.json

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,28 @@
2020
"\tapk del .pgsql-deps"
2121
],
2222
"docker-compose": {
23-
"services": [
24-
"db:",
25-
" image: postgres:${POSTGRES_VERSION:-13}-alpine",
26-
" environment:",
27-
" POSTGRES_DB: ${POSTGRES_DB:-app}",
28-
" # You should definitely change the password in production",
29-
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
30-
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
31-
" volumes:",
32-
" - db-data:/var/lib/postgresql/data:rw",
33-
" # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!",
34-
" # - ./docker/db/data:/var/lib/postgresql/data:rw",
35-
" # To expose the port on the host",
36-
" # ports:",
37-
" # - \"5432\""
38-
],
23+
"docker-compose.yml": {
24+
"services": [
25+
"db:",
26+
" image: postgres:${POSTGRES_VERSION:-13}-alpine",
27+
" environment:",
28+
" POSTGRES_DB: ${POSTGRES_DB:-app}",
29+
" # You should definitely change the password in production",
30+
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
31+
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
32+
" volumes:",
33+
" - db-data:/var/lib/postgresql/data:rw",
34+
" # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!",
35+
" # - ./docker/db/data:/var/lib/postgresql/data:rw"
36+
]
37+
},
38+
"docker-compose.override.yml": {
39+
"services": [
40+
"db:",
41+
" ports:",
42+
" - \"5432\""
43+
]
44+
},
3945
"volumes": ["db-data:"]
4046
}
4147
}

0 commit comments

Comments
 (0)