Skip to content

Mailstack not working: Docker Compose: Traefik, Roundcube, Stalwart #949

Closed Answered by ghost
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

So after some troubleshooting and a lot of headaches, I've managed to pull it off, I though I share it here, so that everyone who struggles after me can look at this.

docker-compose.yml

services:
  traefik:
    container_name: traefik
    image: traefik:v3.0
    restart: always
    networks:
      proxy:
        ipv4_address: 172.19.0.2
    ports:
      - 80:80
      - 443:443
      - 25:25
      - 587:587
      - 465:465
      - 993:993
      - 4190:4190
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./traefik:/etc/traefik
      - ./acme:/etc/certs
      - /var/run/docker.sock:/var/run/docker.sock:ro
    command:
      - --certificatesresolvers.leresolver.acme.keyType=EC256

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant