aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/docker-compose.yaml.template3
1 files changed, 3 insertions, 0 deletions
diff --git a/template/docker-compose.yaml.template b/template/docker-compose.yaml.template
index 35027c9..d8e1b85 100644
--- a/template/docker-compose.yaml.template
+++ b/template/docker-compose.yaml.template
@@ -54,12 +54,15 @@ services:
nginx:
image: nginx:latest
container_name: nginx
+ restart: on-failure:3
ports:
- "80:80"
- "443:443"
volumes:
- "./nginx-config:/etc/nginx/conf.d:ro"
+ - "./site:/srv/www:ro"
- "./data/certbot/certs:/etc/letsencrypt:ro"
+ - "./data/certbot/webroot:/srv/acme:ro"
networks:
- external
- internal