diff options
| author | crupest <crupest@outlook.com> | 2022-10-31 20:14:32 +0800 | 
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2022-10-31 20:14:32 +0800 | 
| commit | ac16053eaddccffc6136e0bd668a9ddfb99738ec (patch) | |
| tree | 373c34c6cc699ddde1d09e5755666b1ae260c27c /template/docker-compose.yaml.template | |
| parent | 31367d9feb0dc8ea759a41eb9b0179b3aee65f67 (diff) | |
| download | crupest-ac16053eaddccffc6136e0bd668a9ddfb99738ec.tar.gz crupest-ac16053eaddccffc6136e0bd668a9ddfb99738ec.tar.bz2 crupest-ac16053eaddccffc6136e0bd668a9ddfb99738ec.zip  | |
...
Diffstat (limited to 'template/docker-compose.yaml.template')
| -rw-r--r-- | template/docker-compose.yaml.template | 8 | 
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  | 
