mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-22 08:13:18 +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}
|
||||
ports:
|
||||
- 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:
|
||||
# - yournetwork
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
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:
|
||||
# yournetwork:
|
||||
# external: true
|
||||
|
Loading…
Reference in New Issue
Block a user