aboutsummaryrefslogtreecommitdiff
path: root/template/docker-compose.yaml.template
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-05-31 23:55:57 +0800
committercrupest <crupest@outlook.com>2023-05-31 23:55:57 +0800
commit4cc25bea963c09a1eb0f951bed1eabc75d196446 (patch)
tree2f5aa4fe9684a19463255b454162cc84d35ccc2a /template/docker-compose.yaml.template
parent4e6260b7d03a38be65203139631d5fda523e80af (diff)
downloadcrupest-4cc25bea963c09a1eb0f951bed1eabc75d196446.tar.gz
crupest-4cc25bea963c09a1eb0f951bed1eabc75d196446.tar.bz2
crupest-4cc25bea963c09a1eb0f951bed1eabc75d196446.zip
Add v2ray.
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: