🐛 FIX: Reverts

This commit is contained in:
Yuri-Lima
2023-08-28 10:49:34 +00:00
parent 95d413c277
commit 7df58fe38b
2 changed files with 23 additions and 44 deletions

View File

@@ -18,23 +18,8 @@ services:
ports:
- "8083:80"
# - "443:443"
labels:
- "traefik.enable=true"
- "traefik.http.routers.phxalpha.entrypoints=https"
- "traefik.http.routers.phxalpha.rule=Host(`phx.yurilima.uk`)"
- "traefik.http.routers.phxalpha.middlewares=secHeaders@file"
- "traefik.http.routers.phxalpha.tls=true"
- "traefik.http.routers.phxalpha.tls.certresolver=http"
- "traefik.http.routers.phxalpha.service=phxalpha"
- "traefik.http.services.phxalpha.loadbalancer.server.port=80"
- "traefik.docker.network=proxy"
- "traefik.http.routers.phxalpha-insecure.entrypoints=http"
- "traefik.http.routers.phxalpha-insecure.rule=Host(`phx.yurilima.uk`)"
- "traefik.http.routers.phxalpha-insecure.tls=false"
networks:
- frontend
- backend
depends_on:
- phoenix-backend
phoenix-backend:
@@ -67,21 +52,20 @@ services:
SMTP_IGNORE_TLS: ${SMTP_IGNORE_TLS}
ENV_MODE: ${ENV_MODE}
command: [ "npm", "run", "start:server" ]
# ports:
# - "3000:3000"
# - "3400:3400"
# - "9615:9615"
ports:
- "3000:3000"
- "3400:3400"
- "9615:9615"
volumes:
- "asset-data:/usr/src/app/packages/dev-server/assets"
- "/opt/containers/phx/server_custom:/usr/src/app/packages/dev-server/custom"
networks:
- backend
- frontend
deploy:
mode: replicated
replicas: 2
update_config:
order: start-first # It means that the service will be updated one at a time
# deploy:
# mode: replicated
# replicas: 2
# update_config:
# order: start-first # It means that the service will be updated one at a time
phoenix-backend-worker:
container_name: phoenix-backend-worker
restart: always
@@ -100,4 +84,3 @@ services:
- "/opt/containers/phx/server_custom:/usr/src/app/packages/dev-server/custom"
networks:
- backend
- frontend