proxy/docker-compose.yaml
Roland Schneider e1d153f71c initial commit
2022-11-26 09:19:11 +00:00

19 lines
413 B
YAML

version: '3'
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