forked from pepsik-kiev/HTTPAceProxy
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose-httpaceproxycpp.yml
More file actions
29 lines (29 loc) · 1.08 KB
/
Copy pathdocker-compose-httpaceproxycpp.yml
File metadata and controls
29 lines (29 loc) · 1.08 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
services:
httpaceproxycpp:
build:
context: ..
dockerfile: httpaceproxycpp/Dockerfile
image: httpaceproxycpp:latest
container_name: httpaceproxycpp
ports:
- "8888:8888"
environment:
- ACEPROXY_HOST=0.0.0.0
- ACEPROXY_PORT=8888
# Point this to an existing AceStream/AceServe engine.
# This compose file intentionally does not start AceStream/AceServe.
#- ACESTREAM_HOST=${ACESTREAM_HOST:-host.docker.internal}
- ACESTREAM_HOST=${ACESTREAM_HOST:-192.168.68.77}
- ACESTREAM_API_PORT=${ACESTREAM_API_PORT:-62062}
- ACESTREAM_HTTP_PORT=${ACESTREAM_HTTP_PORT:-6878}
- MAX_CONNECTIONS=${MAX_CONNECTIONS:-10}
- MAX_CONCURRENT_CHANNELS=${MAX_CONCURRENT_CHANNELS:-5}
- ENABLED_PLUGINS=${ENABLED_PLUGINS:-newera,elcano,acepl,af1c1onados,aio,stat,statplugin}
- AIO_PLUGINS=${AIO_PLUGINS:-newera,elcano,acepl,af1c1onados}
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:8888/stat"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s