Skip to content

Commit

Permalink
Update docker-compose.prod.yaml with Traefik configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
flemming-pr committed Dec 26, 2023
1 parent 6ca2ecf commit f480d2a
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions docker-compose.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,17 @@ version: "3.7"
networks:
web:
external: true
c4s-website:

services:

app:
image: ghcr.io/chaostreff-flensburg/c4s-website/frontend:latest
restart: unless-stopped
restart: always
networks:
- web
- c4s-website
labels:
- traefik.enable=true
- traefik.http.routers.c4s-website.rule=Host(`42.ccc.de`)
- traefik.http.routers.c4s-website.entrypoints=websecure
- traefik.http.routers.c4s-website.tls=true
- traefik.http.routers.c4s-website.certresolver=le
- traefik.http.services.c4s-website.loadbalancer.server.port=8080
- traefik.docker.network=web
- "traefik.enable=true"
- "traefik.http.routers.c4s-website.rule=Host(`42.ccc.de`)"
- "traefik.http.routers.c4s-website.entrypoints=https,http"
- "traefik.http.services.c4s-website.loadbalancer.server.port=80"
- "traefik.http.routers.c4s-website.tls.certresolver=mytlschallenge"
- "traefik.docker.network=web"

0 comments on commit f480d2a

Please sign in to comment.