diff options
| author | crupest <crupest@outlook.com> | 2022-11-26 20:47:11 +0800 | 
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2022-11-26 20:47:11 +0800 | 
| commit | be03bc9bfd1c5663c606880d678cc864c7cc95bc (patch) | |
| tree | 562780591efc00f223e7603247fb48be7679afc3 /template/docker-compose.yaml.template | |
| parent | 31af13e54a1fa2c669f7d8ecca8a0c8e2d067676 (diff) | |
| download | crupest-be03bc9bfd1c5663c606880d678cc864c7cc95bc.tar.gz crupest-be03bc9bfd1c5663c606880d678cc864c7cc95bc.tar.bz2 crupest-be03bc9bfd1c5663c606880d678cc864c7cc95bc.zip  | |
Complete crupest-api.
Diffstat (limited to 'template/docker-compose.yaml.template')
| -rw-r--r-- | template/docker-compose.yaml.template | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/template/docker-compose.yaml.template b/template/docker-compose.yaml.template index 3df0a18..8c854c5 100644 --- a/template/docker-compose.yaml.template +++ b/template/docker-compose.yaml.template @@ -76,6 +76,19 @@ services:        - timeline-network        - code-server-network        - auto-certbot-network +      - crupest-api-network + +  crupest-api: +    pull_policy: build +    build: +      context: ./docker/crupest-api +      dockerfile: Dockerfile +      pull: true +    container_name: crupest-api +    volumes: +      - "./crupest-api-config.json:/config.json:ro" +    networks: +      - crupest-api-network    auto-certbot:      pull_policy: build @@ -158,3 +171,4 @@ networks:    timeline-network:    code-server-network:    auto-certbot-network: +  crupest-api-network:  | 
