From 807b32da85b7c173d5a09fb0d07966ee129207a1 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 26 Dec 2023 15:58:56 +0100 Subject: [PATCH] Changed network and volume names --- .../docker-listmonk/templates/docker-compose.yml.j2 | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/roles/docker-listmonk/templates/docker-compose.yml.j2 b/roles/docker-listmonk/templates/docker-compose.yml.j2 index 2aa5eaa6..5a605aef 100644 --- a/roles/docker-listmonk/templates/docker-compose.yml.j2 +++ b/roles/docker-listmonk/templates/docker-compose.yml.j2 @@ -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: \ No newline at end of file + database: \ No newline at end of file