proxy/docker-compose.yaml
Roland Schneider 03f79b2d9f changes
2023-06-06 09:14:58 +00:00

22 lines
491 B
YAML

version: '3'
services:
webserver:
image: nginx:latest
ports:
- 80:80
- 443:443
# restart: always
volumes:
- ./nginx/templates/:/etc/nginx/templates/:rw
- ./nginx/conf/:/etc/nginx/conf.d/:rw
- ./certbot/www:/var/www/certbot/:ro
- ./certbot/conf/:/etc/nginx/ssl/:ro
env_file:
- .env
certbot:
image: certbot/certbot:latest
volumes:
- ./certbot/www/:/var/www/certbot/:rw
- ./certbot/conf/:/etc/letsencrypt/:rw