nginx proxy
This commit is contained in:
22
environments/cutlergyor/proxy/docker-compose.yaml
Normal file
22
environments/cutlergyor/proxy/docker-compose.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
version: '3'
|
||||
|
||||
# volume descriptiosn
|
||||
# ./certbot/www/ -> used to do the challange
|
||||
# ./certbot/conf/ -> used to store the ssl artifacts generated by certbot
|
||||
|
||||
services:
|
||||
webserver:
|
||||
image: nginx:latest
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
restart: always
|
||||
volumes:
|
||||
- ./nginx/conf/:/etc/nginx/conf.d/:ro
|
||||
- ./certbot/www:/var/www/certbot/:ro
|
||||
- ./certbot/conf/:/etc/nginx/ssl/:ro
|
||||
certbot:
|
||||
image: certbot/certbot:latest
|
||||
volumes:
|
||||
- ./certbot/www/:/var/www/certbot/:rw
|
||||
- ./certbot/conf/:/etc/letsencrypt/:rw
|
||||
Reference in New Issue
Block a user