aboutsummaryrefslogtreecommitdiff
path: root/template/docker-compose.yaml.template
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-01-12 18:17:55 +0800
committercrupest <crupest@outlook.com>2024-01-12 18:17:55 +0800
commit6bb2b07e270707f7df0f106159c4e0e9048ea699 (patch)
treee99e0fa8170e284db5ce8239403c7457c99ae07e /template/docker-compose.yaml.template
parenta459ea7b83d4b3394cde8889c61c0a8a6f73464d (diff)
downloadcrupest-6bb2b07e270707f7df0f106159c4e0e9048ea699.tar.gz
crupest-6bb2b07e270707f7df0f106159c4e0e9048ea699.tar.bz2
crupest-6bb2b07e270707f7df0f106159c4e0e9048ea699.zip
docker(secret): build image by ourselves.
Diffstat (limited to 'template/docker-compose.yaml.template')
-rw-r--r--template/docker-compose.yaml.template9
1 files changed, 7 insertions, 2 deletions
diff --git a/template/docker-compose.yaml.template b/template/docker-compose.yaml.template
index 8b2f014..a8a3be8 100644
--- a/template/docker-compose.yaml.template
+++ b/template/docker-compose.yaml.template
@@ -56,8 +56,13 @@ services:
- "./crupest-api-config.json:/crupest-api-config.json:ro"
v2ray:
- image: v2fly/v2fly-core:latest
- pull_policy: always
+ pull_policy: build
+ build:
+ context: ./docker/crupest-v2ray
+ dockerfile: Dockerfile
+ pull: true
+ tags:
+ - "crupest/crupest-v2ray:latest"
command: [ "run", "-c", "/etc/v2fly/config.json" ]
container_name: v2ray
restart: on-failure:3