aboutsummaryrefslogtreecommitdiff
path: root/template/docker-compose.yaml.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
commitaa88e7a1b6328b96b88254bec86920f7e5c75c05 (patch)
tree1f86ac7e446f8db7247cfbd7b7afdbee87d8b2cd /template/docker-compose.yaml.template
parentac1c8a2265e5eed2598a913a1580cfbb6cba56e5 (diff)
downloadcrupest-aa88e7a1b6328b96b88254bec86920f7e5c75c05.tar.gz
crupest-aa88e7a1b6328b96b88254bec86920f7e5c75c05.tar.bz2
crupest-aa88e7a1b6328b96b88254bec86920f7e5c75c05.zip
Add init to halo to try to fix stop problem.
Diffstat (limited to 'template/docker-compose.yaml.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