diff --git a/compose.yml b/compose.yml index 573f7b4..5083d6d 100644 --- a/compose.yml +++ b/compose.yml @@ -2,6 +2,8 @@ services: postgres: image: postgres:15 container_name: listnetignet_postgres + networks: + - mailserver env_file: - .env - ../passwords/listnetignet.pass @@ -11,6 +13,8 @@ services: listmonk: image: listmonk/listmonk:latest container_name: listnetignet_listmonk + networks: + - mailserver depends_on: - postgres env_file: @@ -23,3 +27,6 @@ services: - ./volumes/uploads:/listmonk/uploads - ./conf/static:/listmonk/static restart: unless-stopped +networks: + mailserver: + external: true