Initial commit
This commit is contained in:
commit
6be7c81137
19 changed files with 655 additions and 0 deletions
18
postgres/docker-compose.toml
Normal file
18
postgres/docker-compose.toml
Normal file
|
@ -0,0 +1,18 @@
|
|||
[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
|
Reference in a new issue