Updated compose file to support wmgzon
This commit is contained in:
parent
35fe718153
commit
9d24b137c5
@ -47,8 +47,6 @@ services:
|
|||||||
container_name: "wmgzon"
|
container_name: "wmgzon"
|
||||||
image: lukeelse/wmgzon:latest
|
image: lukeelse/wmgzon:latest
|
||||||
tty: true
|
tty: true
|
||||||
ports:
|
|
||||||
- "8080:8080"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./files:/app/static/assets/img/products/
|
- ./files:/app/static/assets/img/products/
|
||||||
- ./data:/app/data/
|
- ./data:/app/data/
|
||||||
@ -59,13 +57,13 @@ services:
|
|||||||
- "traefik.enable=true" # <== Enable traefik to proxy this container
|
- "traefik.enable=true" # <== Enable traefik to proxy this container
|
||||||
|
|
||||||
- "traefik.http.middlewares.redirect-web-secure.redirectscheme.scheme=https"
|
- "traefik.http.middlewares.redirect-web-secure.redirectscheme.scheme=https"
|
||||||
- "traefik.http.routers.snexo-insecure.middlewares=redirect-web-secure"
|
- "traefik.http.routers.wmgzon-insecure.middlewares=redirect-web-secure"
|
||||||
- "traefik.http.routers.snexo-insecure.rule=Host(`wmgzon.luke-else.co.uk`)"
|
- "traefik.http.routers.wmgzon-insecure.rule=Host(`wmgzon.luke-else.co.uk`)"
|
||||||
- "traefik.http.routers.snexo-insecure.entrypoints=web"
|
- "traefik.http.routers.wmgzon-insecure.entrypoints=web"
|
||||||
|
|
||||||
- "traefik.http.routers.snexo.rule=Host(`wmgzon.luke-else.co.uk`)"
|
- "traefik.http.routers.wmgzon.rule=Host(`wmgzon.luke-else.co.uk`)"
|
||||||
- "traefik.http.routers.snexo.entrypoints=websecure"
|
- "traefik.http.routers.wmgzon.entrypoints=websecure"
|
||||||
- "traefik.http.routers.snexo.tls.certresolver=myresolver"
|
- "traefik.http.routers.wmgzon.tls.certresolver=myresolver"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
Loading…
Reference in New Issue
Block a user