From 35fe718153af5cd59262e37aace3d1dbf68ce648 Mon Sep 17 00:00:00 2001 From: Luke Else Date: Sun, 18 Feb 2024 19:49:17 +0000 Subject: [PATCH] Added WMGZON container --- Websites/docker-compose.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/Websites/docker-compose.yml b/Websites/docker-compose.yml index 8239366..ec3a192 100644 --- a/Websites/docker-compose.yml +++ b/Websites/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.8' services: -#Websites luke-else.co.uk (8000) snexo.co.uk (8001) +#Websites luke-else.co.uk (8000) snexo.co.uk (8001) wmgzon.luke-else.co.uk (8080) luke-else.co.uk: build: ./luke-else.co.uk container_name: luke-else.co.uk @@ -43,6 +43,31 @@ services: - "traefik.http.routers.snexo.tls.certresolver=myresolver" restart: unless-stopped + wmgzon: + container_name: "wmgzon" + image: lukeelse/wmgzon:latest + tty: true + ports: + - "8080:8080" + volumes: + - ./files:/app/static/assets/img/products/ + - ./data:/app/data/ + networks: + - proxy + labels: + ## Expose WMGZON Through Trefik ## + - "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.snexo.rule=Host(`wmgzon.luke-else.co.uk`)" + - "traefik.http.routers.snexo.entrypoints=websecure" + - "traefik.http.routers.snexo.tls.certresolver=myresolver" + restart: unless-stopped + networks: proxy: external: true \ No newline at end of file