diff options
| author | crupest <crupest@outlook.com> | 2022-11-28 19:30:11 +0800 | 
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2022-11-28 19:30:11 +0800 | 
| commit | 5900c943160de1c7fde2afd8211faa8372c00505 (patch) | |
| tree | ee622515870ef8f6cda5768c716561b12b93b6bd /template/docker-compose.yaml.template | |
| parent | a76be026edad80163439191f4ad596e2fb3533c7 (diff) | |
| download | crupest-5900c943160de1c7fde2afd8211faa8372c00505.tar.gz crupest-5900c943160de1c7fde2afd8211faa8372c00505.tar.bz2 crupest-5900c943160de1c7fde2afd8211faa8372c00505.zip  | |
Fix docker.
Diffstat (limited to 'template/docker-compose.yaml.template')
| -rw-r--r-- | template/docker-compose.yaml.template | 15 | 
1 files changed, 10 insertions, 5 deletions
diff --git a/template/docker-compose.yaml.template b/template/docker-compose.yaml.template index cccc4e9..563a9cc 100644 --- a/template/docker-compose.yaml.template +++ b/template/docker-compose.yaml.template @@ -13,7 +13,6 @@ services:        - timeline-network    code-server: -    image: crupest/arch-code-server:latest      build:        context: ./docker/arch-code-server        dockerfile: Dockerfile @@ -23,6 +22,8 @@ services:          - CRUPEST_UID=$CRUPEST_UID          - CRUPEST_GID=$CRUPEST_GID          - USE_CHINA_MIRROR=$CRUPEST_IN_CHINA +      tags: +        - "crupest/arch-code-server:latest"      container_name: code-server      restart: on-failure:3      volumes: @@ -31,12 +32,13 @@ services:        - code-server-network    nginx: -    image: crupest/arch-code-server:latest      pull_policy: build      build:        context: ./docker/crupest-nginx        dockerfile: Dockerfile        pull: true +      tags: +        - "crupest/arch-code-server:latest"      container_name: nginx      restart: on-failure:3      ports: @@ -54,12 +56,13 @@ services:        - crupest-api-network    crupest-api: -    image: crupest/crupest-api:latest      pull_policy: build      build:        context: ./docker/crupest-api        dockerfile: Dockerfile        pull: true +      tags: +        - "crupest/crupest-api:latest"      container_name: crupest-api      volumes:        - "./crupest-api-config.json:/config.json:ro" @@ -67,7 +70,6 @@ services:        - crupest-api-network    auto-certbot: -    image: crupest/auto-certbot:latest      pull_policy: build      depends_on:        - nginx @@ -80,6 +82,8 @@ services:          - CRUPEST_EMAIL=$CRUPEST_EMAIL          - CRUPEST_AUTO_CERTBOT_ADDITIONAL_PACKAGES=docker-cli          - CRUPEST_AUTO_CERTBOT_POST_HOOK=docker restart nginx +      tags: +        - "crupest/auto-certbot:latest"      container_name: auto-certbot      volumes:        - "./data/certbot/certs:/etc/letsencrypt" @@ -92,7 +96,6 @@ services:        - auto-certbot-network    auto-backup: -    image: crupest/auto-backup:latest      pull_policy: build      build:        context: ./docker/auto-backup @@ -103,6 +106,8 @@ services:          - CRUPEST_AUTO_BACKUP_COS_SECRET_KEY=${CRUPEST_AUTO_BACKUP_COS_SECRET_KEY}          - CRUPEST_AUTO_BACKUP_COS_REGION=${CRUPEST_AUTO_BACKUP_COS_REGION}          - CRUPEST_AUTO_BACKUP_BUCKET_NAME=${CRUPEST_AUTO_BACKUP_BUCKET_NAME} +      tags: +        - "crupest/auto-backup:latest"      container_name: auto-backup      volumes:        - "./data:/data"  | 
