forked from Viren070/AIOStreams
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
40 lines (39 loc) · 1.1 KB
/
compose.yaml
File metadata and controls
40 lines (39 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
services:
aiostreams:
image: ghcr.io/viren070/aiostreams:latest # ghcr.io/viren070/aiostreams:dev for latest commit
container_name: aiostreams
restart: unless-stopped
ports:
- 3000:3000
env_file:
- .env
healthcheck:
test: wget -qO- http://localhost:3000/health
interval: 1m
timeout: 10s
retries: 5
start_period: 10s
# Uncomment the following block to use warp as an ADDON_PROXY with http://warp:1080
# warp:
# image: caomingjun/warp
# container_name: warp
# restart: unless-stopped
# device_cgroup_rules:
# - 'c 10:200 rwm'
# expose:
# - 1080
# environment:
# - WARP_SLEEP=5
# cap_add:
# - NET_ADMIN
# sysctls:
# - net.ipv6.conf.all.disable_ipv6=0
# - net.ipv4.conf.all.src_valid_mark=1
# volumes:
# - ./data/warp:/var/lib/cloudflare-warp
# healthcheck:
# test: curl -x "socks5h://127.0.0.1:1080" -fsSL "https://www.cloudflare.com/cdn-cgi/trace" | grep -qE "warp=(plus|on)" || exit 1
# interval: 1m
# timeout: 5s
# retries: 3
# start_period: 5s