update
Some checks failed
Build and Push Docker Image / build (push) Failing after 15s

This commit is contained in:
reonokiy 2025-05-17 18:32:32 +08:00
parent 16d73f5a1b
commit 86001ce615
Signed by: reonokiy
SSH key fingerprint: SHA256:2VjKpUxMIe0QYY3OVnOMuPiB0X5pvrIpJ+UiyFhxtq0
3 changed files with 74 additions and 5 deletions

5
.infisical.json Normal file
View file

@ -0,0 +1,5 @@
{
"workspaceId": "35739780-b931-4e23-b374-9827f988d345",
"defaultEnvironment": "dev",
"gitBranchToEnvironmentMapping": null
}

View file

@ -16,3 +16,8 @@ services:
INFISICAL_MACHINE_CLIENT_SECRET: ${INFISICAL_MACHINE_CLIENT_SECRET}
ports:
- 443:443
warp:
image: ghcr.io/aleskxyz/warp-svc:v1.5.0
restart: always
container_name: warp

View file

@ -5,6 +5,10 @@
},
"dns": {
"servers": [
{
"tag": "dns:local",
"type": "local"
},
{
"tag": "dns:cloudflare",
"type": "h3",
@ -17,7 +21,12 @@
"enabled": true,
"server": "pool.ntp.org",
"server_port": 123,
"interval": "60m"
"interval": "60m",
"domain_resolver": {
"server": "dns:cloudflare",
"strategy": "ipv4_only",
"disable_cache": false
}
},
"inbounds": [
{
@ -27,7 +36,13 @@
"listen_port": 443,
"users": [
{
"uuid": "${UUID}",
"name": "direct",
"uuid": "${DIRECT_UUID}",
"flow": "xtls-rprx-vision"
},
{
"name": "warp",
"uuid": "${WARP_UUID}",
"flow": "xtls-rprx-vision"
}
],
@ -59,8 +74,52 @@
],
"outbounds": [
{
"type": "direct",
"tag": "out:direct"
"tag": "out:direct",
"type": "direct"
},
{
"tag": "out:warp",
"type": "socks",
"server": "warp",
"server_port": 1080,
"version": "5",
"domain_resolver": {
"server": "dns:local",
"strategy": "ipv4_only",
"disable_cache": true
}
}
]
],
"route": {
"rules": [
{
"ip_is_private": true,
"outbound": [
"out:direct",
"out:warp"
],
"action": "reject"
},
{
"inbound": [
"in:vless"
],
"auth_user": "direct",
"action": "route",
"outbound": "out:direct"
},
{
"inbound": [
"in:vless"
],
"auth_user": "warp",
"action": "route",
"outbound": "out:warp"
}
],
"default_domain_resolver": {
"server": "dns:cloudflare"
},
"final": "out:warp"
}
}