2023-08-20 12:34:42 +02:00
|
|
|
services:
|
|
|
|
nginx:
|
2023-08-20 12:58:42 +02:00
|
|
|
image: nginx:latest
|
2023-08-20 12:34:42 +02:00
|
|
|
network_mode: "host"
|
2023-08-20 12:58:42 +02:00
|
|
|
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
|
2023-08-20 12:34:42 +02:00
|
|
|
|