Clean up postgres compose
This commit is contained in:
parent
c1ff9d997b
commit
ee97d8a590
|
@ -1,10 +1,8 @@
|
|||
[services]
|
||||
|
||||
[services.postgres]
|
||||
container_name = "postgres"
|
||||
image = "postgres:16"
|
||||
environment = ["TZ=Europe/Helsinki", "POSTGRES_PASSWORD=12345"]
|
||||
ports = ["5432:5432"]
|
||||
environment = ["TZ=Europe/Helsinki"]
|
||||
ports = ["127.0.0.1:5432:5432"]
|
||||
networks = ["postgres"]
|
||||
volumes = [
|
||||
"/docker/postgres:/var/lib/postgresql/data",
|
||||
|
@ -12,7 +10,5 @@ volumes = [
|
|||
]
|
||||
restart = "unless-stopped"
|
||||
|
||||
[networks]
|
||||
|
||||
[networks.postgres]
|
||||
external = true
|
||||
|
|
Loading…
Reference in a new issue