aboutsummaryrefslogtreecommitdiff
path: root/template/docker-compose.yaml.template
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-19 13:00:13 +0800
committercrupest <crupest@outlook.com>2022-11-19 13:00:13 +0800
commitf775f4c76691fc61b2993d81d9f1b4690e76b141 (patch)
tree9fe248e5379c66cbaa740243bebc04bb7df7cd29 /template/docker-compose.yaml.template
parent1562a317e147954c5618ecdccbfd10c944bf81ce (diff)
downloadcrupest-f775f4c76691fc61b2993d81d9f1b4690e76b141.tar.gz
crupest-f775f4c76691fc61b2993d81d9f1b4690e76b141.tar.bz2
crupest-f775f4c76691fc61b2993d81d9f1b4690e76b141.zip
No caddy, only nginx and certbot.
Diffstat (limited to 'template/docker-compose.yaml.template')
-rw-r--r--template/docker-compose.yaml.template5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/docker-compose.yaml.template b/template/docker-compose.yaml.template
index ef6115f..35027c9 100644
--- a/template/docker-compose.yaml.template
+++ b/template/docker-compose.yaml.template
@@ -58,6 +58,11 @@ services:
- "80:80"
- "443:443"
volumes:
+ - "./nginx-config:/etc/nginx/conf.d:ro"
+ - "./data/certbot/certs:/etc/letsencrypt:ro"
+ networks:
+ - external
+ - internal
mailserver:
image: docker.io/mailserver/docker-mailserver:latest