aboutsummaryrefslogtreecommitdiff
path: root/template/docker-compose.yaml.template
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-21 11:11:07 +0800
committercrupest <crupest@outlook.com>2022-11-21 11:13:11 +0800
commit4c0912a843bdd3f7d507264c4ef405c0846c486e (patch)
treefcd1bb259a2d432dab43f74a0c65c919994c7a3d /template/docker-compose.yaml.template
parentb40224b88c2f8bfc4990e2bb12ecb7916eb8a35c (diff)
downloadcrupest-4c0912a843bdd3f7d507264c4ef405c0846c486e.tar.gz
crupest-4c0912a843bdd3f7d507264c4ef405c0846c486e.tar.bz2
crupest-4c0912a843bdd3f7d507264c4ef405c0846c486e.zip
Try to fix timeline. Add auto-certbot.
Diffstat (limited to 'template/docker-compose.yaml.template')
-rw-r--r--template/docker-compose.yaml.template4
1 files changed, 4 insertions, 0 deletions
diff --git a/template/docker-compose.yaml.template b/template/docker-compose.yaml.template
index 8cb617a..431cdaf 100644
--- a/template/docker-compose.yaml.template
+++ b/template/docker-compose.yaml.template
@@ -24,6 +24,10 @@ services:
image: crupest/timeline:latest
container_name: timeline
restart: on-failure:3
+ environment:
+ - TIMELINE_DisableAutoBackup=true
+ - TIMELINE_EnableForwardedHeaders=true
+ - TIMELINE_ForwardedHeadersAllowedProxyHosts=nginx
volumes:
- ./data/timeline:/root/timeline
ports: