add alternative port for certbot, change path for spa__app int docker-compose.yml, change Dockerfile
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user