aboutsummaryrefslogtreecommitdiff
path: root/template/docker-compose.yaml.template
diff options
context:
space:
mode:
Diffstat (limited to 'template/docker-compose.yaml.template')
-rw-r--r--template/docker-compose.yaml.template16
1 files changed, 16 insertions, 0 deletions
diff --git a/template/docker-compose.yaml.template b/template/docker-compose.yaml.template
index ad3b0ab..b2e3fe9 100644
--- a/template/docker-compose.yaml.template
+++ b/template/docker-compose.yaml.template
@@ -65,6 +65,7 @@ services:
- code-server-network
- auto-certbot-network
- crupest-api-network
+ - v2ray-network
crupest-api:
pull_policy: build
@@ -80,6 +81,19 @@ services:
networks:
- crupest-api-network
+ crupest-v2ray:
+ image: v2fly/v2fly-core:latest
+ pull_policy: always
+ command: [ "-c", "/etc/v2fly/config.json" ]
+ container_name: crupest-v2ray
+ restart: on-failure:3
+ volumes:
+ - "./v2ray-config.json:/etc/v2fly/config.json:ro"
+ expose:
+ - "10000:10000"
+ networks:
+ - v2ray-network
+
auto-certbot:
pull_policy: build
depends_on:
@@ -163,6 +177,8 @@ networks:
code-server-network:
auto-certbot-network:
crupest-api-network:
+ v2ray-network:
+
volumes:
blog-public: