mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2025-02-18 03:20:47 +01:00
feat: give additional information on custom networking
This commit is contained in:
parent
e2d527ec67
commit
bb84e13b9a
@ -11,14 +11,18 @@ services:
|
|||||||
# - POSTGRES_DB=${POSTGRES_DB}
|
# - POSTGRES_DB=${POSTGRES_DB}
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
# (Optional) when using custom network
|
# (Optional) when using custom network, see also
|
||||||
|
# https://docs.docker.com/compose/compose-file/compose-file-v3/#networks
|
||||||
|
#
|
||||||
# networks:
|
# networks:
|
||||||
# - yournetwork
|
# - yournetwork
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
# (Optional) when using custom network
|
# (Optional) when using custom network, see also
|
||||||
|
# https://docs.docker.com/compose/compose-file/compose-file-v3/#network-configuration-reference
|
||||||
|
#
|
||||||
# networks:
|
# networks:
|
||||||
# yournetwork:
|
# yournetwork:
|
||||||
# external: true
|
# external: true
|
||||||
|
Loading…
Reference in New Issue
Block a user