dotfiles/docker/postgres/docker-compose.toml

19 lines
367 B
TOML
Raw Normal View History

[services]
[services.postgres]
container_name = "postgres"
2022-03-11 18:13:34 +02:00
image = "postgres:14"
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