2025-01-27 11:24:20 +01:00

33 lines
826 B
YAML

services:
postgres:
image: postgres:15
container_name: info-marche-quimpernetignet_postgres
networks:
- mailserver
env_file:
- .env
- ../passwords/info-marche-quimpernetignet.pass
volumes:
- ./volumes/postgres:/var/lib/postgresql/data
restart: unless-stopped
listmonk:
image: listmonk/listmonk:latest
container_name: info-marche-quimpernetignet_listmonk
networks:
- mailserver
depends_on:
- postgres
env_file:
- .env
- ../passwords/info-marche-quimpernetignet.pass
ports:
- "127.0.0.1:9010:9000"
command: "./listmonk --static-dir=/listmonk/static"
volumes:
- ./volumes/uploads:/listmonk/uploads
- ./conf/static:/listmonk/static
restart: unless-stopped
networks:
mailserver:
external: true