aboutsummaryrefslogtreecommitdiff
path: root/template/docker-compose.yaml.template
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-10-31 20:14:32 +0800
committercrupest <crupest@outlook.com>2022-10-31 20:14:32 +0800
commit16bc28ac505aabd9da7dce085054a86db7904d6e (patch)
tree373c34c6cc699ddde1d09e5755666b1ae260c27c /template/docker-compose.yaml.template
parentefdfc6feb5744d8ad4bd07e35fa8d662925e3e96 (diff)
downloadcrupest-16bc28ac505aabd9da7dce085054a86db7904d6e.tar.gz
crupest-16bc28ac505aabd9da7dce085054a86db7904d6e.tar.bz2
crupest-16bc28ac505aabd9da7dce085054a86db7904d6e.zip
...
Diffstat (limited to 'template/docker-compose.yaml.template')
-rw-r--r--template/docker-compose.yaml.template8
1 files changed, 5 insertions, 3 deletions
diff --git a/template/docker-compose.yaml.template b/template/docker-compose.yaml.template
index 5cc6d10..699bc6f 100644
--- a/template/docker-compose.yaml.template
+++ b/template/docker-compose.yaml.template
@@ -32,15 +32,17 @@ services:
- internal
code-server:
+ image: crupest/arch-code-server:latest
build:
- context: ./docker/code-server
+ context: ./docker/arch-code-server
dockerfile: Dockerfile
args:
- CRUPEST_USER={{CRUPEST_USER}}
- CRUPEST_GROUP={{CRUPEST_GROUP}}
- CRUPEST_UID={{CRUPEST_UID}}
- CRUPEST_GID={{CRUPEST_GID}}
- container_name: code_server
+ - USE_CHINA_MIRROR={{CRUPEST_IN_CHINA}}
+ container_name: code-server
restart: on-failure:3
volumes:
- ./data/code-server:/data
@@ -52,7 +54,7 @@ services:
caddy:
image: caddy:latest
container_name: caddy
- restart: always
+ restart: on-failure:3
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ./site:/srv:ro