Changed network and volume names

This commit is contained in:
Kevin Veen-Birkenbach 2023-12-26 15:58:56 +01:00
parent 729b2d06c3
commit dae2a821aa

View File

@ -5,8 +5,6 @@ services:
image: postgres:13-alpine
ports:
- "9432:5432"
networks:
- listmonk
environment:
- POSTGRES_PASSWORD={{database_password}}
- POSTGRES_USER={{database_username}}
@ -17,10 +15,9 @@ services:
interval: 10s
timeout: 5s
retries: 6
container_name: database
volumes:
- type: volume
source: listmonk-data
source: database
target: /var/lib/postgresql/data
application:
@ -28,18 +25,12 @@ services:
image: listmonk/listmonk:latest
ports:
- "127.0.0.1:{{http_port}}:9000"
networks:
- listmonk
environment:
- TZ=Etc/UTC
container_name: listmonk_application
depends_on:
- database
volumes:
- ./config.toml:/listmonk/config.toml
networks:
listmonk:
volumes:
listmonk-data:
database: