mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-25 09:44:24 +01:00
formatting updates
This commit is contained in:
parent
b37a709672
commit
3d4f62f1c4
@ -1,7 +1,8 @@
|
|||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: docker.io/library/postgres:16.2
|
image: postgres:16.2
|
||||||
|
container_name: postgres
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_INITDB_ARGS=${POSTGRES_INITDB_ARGS---data-checksums}
|
- POSTGRES_INITDB_ARGS=${POSTGRES_INITDB_ARGS---data-checksums}
|
||||||
- POSTGRES_HOST_AUTH_METHOD=${POSTGRES_HOST_AUTH_METHOD-}
|
- POSTGRES_HOST_AUTH_METHOD=${POSTGRES_HOST_AUTH_METHOD-}
|
||||||
@ -17,7 +18,7 @@ services:
|
|||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 5
|
retries: 5
|
||||||
# (Optional) when using custom network, see also
|
# (Optional) When using custom network, see also
|
||||||
# https://docs.docker.com/compose/compose-file/compose-file-v3/#networks
|
# https://docs.docker.com/compose/compose-file/compose-file-v3/#networks
|
||||||
#
|
#
|
||||||
# networks:
|
# networks:
|
||||||
@ -28,7 +29,7 @@ services:
|
|||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
# (Optional) when using custom network, see also
|
# (Optional) When using custom network, see also
|
||||||
# https://docs.docker.com/compose/compose-file/compose-file-v3/#network-configuration-reference
|
# https://docs.docker.com/compose/compose-file/compose-file-v3/#network-configuration-reference
|
||||||
#
|
#
|
||||||
# networks:
|
# networks:
|
||||||
|
Loading…
Reference in New Issue
Block a user