From 16bc28ac505aabd9da7dce085054a86db7904d6e Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 31 Oct 2022 20:14:32 +0800 Subject: ... --- template/docker-compose.yaml.template | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'template/docker-compose.yaml.template') 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 -- cgit v1.2.3