Initial version.
This commit is contained in:
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
www:
|
||||
image: nginx:stable-alpine
|
||||
container_name: www
|
||||
restart: always
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
volumes:
|
||||
- ./certbot/www/:/var/www/certbot/:ro
|
||||
- ./certbot/conf/live/:/etc/nginx/ssl/live/:ro
|
||||
- ./certbot/conf/archive/:/etc/nginx/ssl/archive/:ro
|
||||
- ./sites/default.conf:/etc/nginx/conf.d/default.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/drive.vostan.org:/etc/nginx/conf.d/drive.vostan.org:ro
|
||||
certbot:
|
||||
image: certbot/certbot:latest
|
||||
container_name: certbot
|
||||
volumes:
|
||||
- ./certbot/www/:/var/www/certbot/:rw
|
||||
- ./certbot/conf/:/etc/letsencrypt/:rw
|
||||
Reference in New Issue
Block a user