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
commit0f8f5d3ad0506e0629e08492ed49eb845fd3cc35 (patch)
treefcd1bb259a2d432dab43f74a0c65c919994c7a3d /template/docker-compose.yaml.template
parentfbc8c4e6e0e4bf52c3c954895e388c914bd04aa8 (diff)
downloadcrupest-0f8f5d3ad0506e0629e08492ed49eb845fd3cc35.tar.gz
crupest-0f8f5d3ad0506e0629e08492ed49eb845fd3cc35.tar.bz2
crupest-0f8f5d3ad0506e0629e08492ed49eb845fd3cc35.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: