This commit is contained in:
David Arranz 2024-10-01 18:01:05 +02:00
parent f2b7c5fb3b
commit 786c5bb07a

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:ro
- shared_frontend:/www
ports:
- 80:80 # Puerto HTTP (Caddy lo redirige automáticamente a HTTPS)
- 443:443 # Puerto HTTPS
@ -81,7 +81,7 @@ services:
environment:
- NODE_ENV=production
volumes:
- shared_frontend:/www:rw
- shared_frontend:/www
networks:
- reverse_proxy
depends_on: