drive.vostan.org works.
This commit is contained in:
@@ -5,20 +5,26 @@ services:
|
|||||||
image: nginx:stable-alpine
|
image: nginx:stable-alpine
|
||||||
container_name: www
|
container_name: www
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
# ports:
|
||||||
- 80:80
|
# - 80:80
|
||||||
- 443:443
|
# - 443:443
|
||||||
volumes:
|
volumes:
|
||||||
- ./certbot/www/:/var/www/certbot/:ro
|
- ./certbot/www/:/var/www/certbot/:ro
|
||||||
- ./certbot/conf/live/:/etc/nginx/ssl/live/:ro
|
- ./certbot/conf/live/:/etc/nginx/ssl/live/:ro
|
||||||
- ./certbot/conf/archive/:/etc/nginx/ssl/archive/:ro
|
- ./certbot/conf/archive/:/etc/nginx/ssl/archive/:ro
|
||||||
- ./sites/default.conf:/etc/nginx/conf.d/default.conf:ro
|
- ./sites/default.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
- ./sites/default_ssl.conf:/etc/nginx/conf.d/default_ssl.conf:ro
|
- ./sites/default_ssl.conf:/etc/nginx/conf.d/default_ssl.conf:ro
|
||||||
- ./sites/www.vostan.org:/etc/nginx/conf.d/www.vostan.org:ro
|
- ./sites/www.vostan.org:/etc/nginx/conf.d/www.vostan.org.conf:ro
|
||||||
- ./sites/drive.vostan.org:/etc/nginx/conf.d/drive.vostan.org:ro
|
- ./sites/drive.vostan.org:/etc/nginx/conf.d/drive.vostan.org.conf:ro
|
||||||
|
network_mode: host
|
||||||
|
# command: [nginx-debug, '-g', 'daemon off;']
|
||||||
certbot:
|
certbot:
|
||||||
image: certbot/certbot:latest
|
image: certbot/certbot:latest
|
||||||
container_name: certbot
|
container_name: certbot
|
||||||
volumes:
|
volumes:
|
||||||
- ./certbot/www/:/var/www/certbot/:rw
|
- ./certbot/www/:/var/www/certbot/:rw
|
||||||
- ./certbot/conf/:/etc/letsencrypt/:rw
|
- ./certbot/conf/:/etc/letsencrypt/:rw
|
||||||
|
|
||||||
|
# networks:
|
||||||
|
# lan:
|
||||||
|
# driver: host
|
||||||
|
|||||||
Reference in New Issue
Block a user