Updated compose file to support wmgzon

This commit is contained in:
Luke Else 2024-02-18 21:23:09 +00:00
parent 35fe718153
commit 9d24b137c5

View File

@ -47,8 +47,6 @@ services:
container_name: "wmgzon"
image: lukeelse/wmgzon:latest
tty: true
ports:
- "8080:8080"
volumes:
- ./files:/app/static/assets/img/products/
- ./data:/app/data/
@ -59,13 +57,13 @@ services:
- "traefik.enable=true" # <== Enable traefik to proxy this container
- "traefik.http.middlewares.redirect-web-secure.redirectscheme.scheme=https"
- "traefik.http.routers.snexo-insecure.middlewares=redirect-web-secure"
- "traefik.http.routers.snexo-insecure.rule=Host(`wmgzon.luke-else.co.uk`)"
- "traefik.http.routers.snexo-insecure.entrypoints=web"
- "traefik.http.routers.wmgzon-insecure.middlewares=redirect-web-secure"
- "traefik.http.routers.wmgzon-insecure.rule=Host(`wmgzon.luke-else.co.uk`)"
- "traefik.http.routers.wmgzon-insecure.entrypoints=web"
- "traefik.http.routers.snexo.rule=Host(`wmgzon.luke-else.co.uk`)"
- "traefik.http.routers.snexo.entrypoints=websecure"
- "traefik.http.routers.snexo.tls.certresolver=myresolver"
- "traefik.http.routers.wmgzon.rule=Host(`wmgzon.luke-else.co.uk`)"
- "traefik.http.routers.wmgzon.entrypoints=websecure"
- "traefik.http.routers.wmgzon.tls.certresolver=myresolver"
restart: unless-stopped
networks: