aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-27 10:35:36 +0800
committercrupest <crupest@outlook.com>2022-11-27 10:35:36 +0800
commit1f811cba817c99491a70aff9ece83f1f59c6b2c0 (patch)
tree1f86ac7e446f8db7247cfbd7b7afdbee87d8b2cd /template
parentdb0dbd21065e3d70a6f1d536a0f82f0c238dcfba (diff)
downloadcrupest-1f811cba817c99491a70aff9ece83f1f59c6b2c0.tar.gz
crupest-1f811cba817c99491a70aff9ece83f1f59c6b2c0.tar.bz2
crupest-1f811cba817c99491a70aff9ece83f1f59c6b2c0.zip
Add init to halo to try to fix stop problem.
Diffstat (limited to 'template')
-rw-r--r--template/docker-compose.yaml.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/template/docker-compose.yaml.template b/template/docker-compose.yaml.template
index a70a372..c372ba4 100644
--- a/template/docker-compose.yaml.template
+++ b/template/docker-compose.yaml.template
@@ -4,6 +4,7 @@ services:
pull_policy: always
container_name: halo
restart: on-failure:3
+ init: true
volumes:
- ./data/halo:/root/.halo
- /etc/timezone:/etc/timezone:ro