added mailserver nerdctl network

This commit is contained in:
julien 2025-01-27 11:24:25 +01:00
parent 180ce73141
commit 77411167f3

View File

@ -2,6 +2,8 @@ services:
postgres: postgres:
image: postgres:15 image: postgres:15
container_name: listnetignet_postgres container_name: listnetignet_postgres
networks:
- mailserver
env_file: env_file:
- .env - .env
- ../passwords/listnetignet.pass - ../passwords/listnetignet.pass
@ -11,6 +13,8 @@ services:
listmonk: listmonk:
image: listmonk/listmonk:latest image: listmonk/listmonk:latest
container_name: listnetignet_listmonk container_name: listnetignet_listmonk
networks:
- mailserver
depends_on: depends_on:
- postgres - postgres
env_file: env_file:
@ -23,3 +27,6 @@ services:
- ./volumes/uploads:/listmonk/uploads - ./volumes/uploads:/listmonk/uploads
- ./conf/static:/listmonk/static - ./conf/static:/listmonk/static
restart: unless-stopped restart: unless-stopped
networks:
mailserver:
external: true