This commit is contained in:
David Arranz 2024-10-01 19:47:02 +02:00
parent 77b1d23da0
commit a38ed7002e
2 changed files with 20 additions and 28 deletions

View File

@ -7,7 +7,7 @@ services:
- ./Caddyfile:/etc/caddy/Caddyfile # Monta el archivo de configuración - ./Caddyfile:/etc/caddy/Caddyfile # Monta el archivo de configuración
- caddy_data:/data # Almacena los certificados en este volumen - caddy_data:/data # Almacena los certificados en este volumen
- caddy_config:/config # Configuración de Caddy - caddy_config:/config # Configuración de Caddy
- shared_frontend:/www - /opt/presupuestador-uecko/dist/client:/www
ports: ports:
- 80:80 # Puerto HTTP (Caddy lo redirige automáticamente a HTTPS) - 80:80 # Puerto HTTP (Caddy lo redirige automáticamente a HTTPS)
- 443:443 # Puerto HTTPS - 443:443 # Puerto HTTPS
@ -70,26 +70,26 @@ services:
condition: service_completed_successfully condition: service_completed_successfully
restart: on-failure restart: on-failure
frontend: # frontend:
container_name: "frontend" # container_name: "frontend"
env_file: "stack.env" # env_file: "stack.env"
build: # build:
args: # args:
- NODE_ENV=production # - NODE_ENV=production
context: ./ # context: ./
dockerfile: Dockerfile.client # dockerfile: Dockerfile.client
environment: # environment:
- NODE_ENV=production # - NODE_ENV=production
volumes: # volumes:
- shared_frontend:/www # - shared_frontend:/www
networks: # networks:
- reverse_proxy # - reverse_proxy
depends_on: # depends_on:
- caddy # - caddy
- backend # - backend
volumes: volumes:
shared_frontend: # shared_frontend:
caddy_data: caddy_data:
caddy_config: caddy_config:
mariadb_data: mariadb_data:

View File

@ -63,14 +63,6 @@ module.exports = {
}, },
nodemailer: { nodemailer: {
brevo: { brevo: {},
host: "smtp-relay.brevo.com",
port: 587,
secure: false,
auth: {
user: "7d0c4e002@smtp-brevo.com",
pass: "VOqwt0gBdNPhr781",
},
},
}, },
}; };