mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-16 21:27:44 +00:00
19 lines
367 B
TOML
19 lines
367 B
TOML
[services]
|
|
|
|
[services.postgres]
|
|
container_name = "postgres"
|
|
image = "postgres:15"
|
|
environment = ["TZ=Europe/Helsinki", "POSTGRES_PASSWORD=12345"]
|
|
ports = ["5432:5432"]
|
|
networks = ["postgres"]
|
|
volumes = [
|
|
"/docker/postgres:/var/lib/postgresql/data",
|
|
"/etc/localtime:/etc/localtime:ro",
|
|
]
|
|
restart = "unless-stopped"
|
|
|
|
[networks]
|
|
|
|
[networks.postgres]
|
|
external = true
|