add alternative port for certbot, change path for spa__app int docker-compose.yml, change Dockerfile

This commit is contained in:
2025-05-27 19:37:12 +03:00
parent 3b60cd6317
commit b1c72b01a4
5 changed files with 13 additions and 3 deletions
+2 -1
View File
@@ -76,6 +76,7 @@ services:
volumes:
- ./nginx/configs:/etc/nginx/conf.d
- certbot-etc:/etc/letsencrypt
- ./spa/app:/var/www/yalarba.ru/html
networks:
- web-network
depends_on:
@@ -87,7 +88,7 @@ services:
volumes:
- certbot-etc:/etc/letsencrypt
- certbot-var:/var/lib/letsencrypt
command: sh -c "certbot certonly --standalone --noninteractive --agree-tos --email ${EMAIL} -d ${DOMAINS} --keep-until-expiring"
command: sh -c "certbot certonly --standalone -p ${CERBOT_PORT} --noninteractive --agree-tos --email ${EMAIL} -d ${DOMAINS} --keep-until-expiring"
env_file:
- .env
restart: unless-stopped