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

View File

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