Add deployment workflows for development and production environments
Some checks failed
Deploy Production (ss-tool.crewsportswear.app) / deploy (push) Failing after 3m16s

This commit is contained in:
Frank John Begornia
2025-12-23 01:58:25 +08:00
parent 7ae0929e91
commit a60488b222
3 changed files with 225 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ services:
- HOST=0.0.0.0
- USE_SSL=false
- OUTPUT_DIR=/var/www/html/images/
- BASE_URL=https://screenshots.crewsportswear.app/
- BASE_URL=https://ss-tool.crewsportswear.app/
- VIEWPORT_WIDTH=1366
- VIEWPORT_HEIGHT=1100
- WAIT_TIME=10000
@@ -25,7 +25,7 @@ services:
- "traefik.enable=true"
# HTTP Router
- "traefik.http.routers.screenshot-service.rule=Host(`screenshots.crewsportswear.app`)"
- "traefik.http.routers.screenshot-service.rule=Host(`ss-tool.crewsportswear.app`)"
- "traefik.http.routers.screenshot-service.entrypoints=websecure"
- "traefik.http.routers.screenshot-service.tls=true"
- "traefik.http.routers.screenshot-service.tls.certresolver=letsencrypt"
@@ -34,7 +34,7 @@ services:
- "traefik.http.services.screenshot-service.loadbalancer.server.port=5955"
# HTTP to HTTPS redirect
- "traefik.http.routers.screenshot-service-http.rule=Host(`screenshots.crewsportswear.app`)"
- "traefik.http.routers.screenshot-service-http.rule=Host(`ss-tool.crewsportswear.app`)"
- "traefik.http.routers.screenshot-service-http.entrypoints=web"
- "traefik.http.routers.screenshot-service-http.middlewares=https-redirect"