aboutsummaryrefslogtreecommitdiff
path: root/template/docker-compose.yaml.template
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-26 20:47:11 +0800
committercrupest <crupest@outlook.com>2022-11-26 20:47:11 +0800
commite6c4b5249c7055fe323896041044bd7d515490ca (patch)
tree562780591efc00f223e7603247fb48be7679afc3 /template/docker-compose.yaml.template
parent80bb178ab3234fb7b883c6489ff3c5e2631e208e (diff)
downloadcrupest-e6c4b5249c7055fe323896041044bd7d515490ca.tar.gz
crupest-e6c4b5249c7055fe323896041044bd7d515490ca.tar.bz2
crupest-e6c4b5249c7055fe323896041044bd7d515490ca.zip
Complete crupest-api.
Diffstat (limited to 'template/docker-compose.yaml.template')
-rw-r--r--template/docker-compose.yaml.template14
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: