-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 1.09 KB
/
docker-compose.yml
File metadata and controls
41 lines (38 loc) · 1.09 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
41
name: nadzu
services:
warp:
image: nxdun/cloudflare-warp-proxy:latest
restart: unless-stopped
ports:
- "40000:40000"
app:
# Use `nadzu:local` for local development. For production deployments, use
# the published image `ghcr.io/nxdun/nadzu:latest` or an appropriate tagged release.
image: nadzu:local
container_name: nadzu
depends_on:
- warp
environment:
APP_PORT: "${APP_PORT}"
APP_ENV: "${APP_ENV}"
APP_NAME: "${APP_NAME}"
ALLOWED_ORIGINS: "${ALLOWED_ORIGINS}"
MAX_CONCURRENT_DOWNLOADS: "${MAX_CONCURRENT_DOWNLOADS}"
CAPTCHA_SECRET_KEY: "${CAPTCHA_SECRET_KEY}"
MASTER_API_KEY: "${MASTER_API_KEY}"
HTTP_PROXY: "socks5h://warp:40000"
HTTPS_PROXY: "socks5h://warp:40000"
ALL_PROXY: "socks5h://warp:40000"
ports:
- "80:80"
# caddy:
# image: caddy:alpine
# restart: unless-stopped
# ports:
# - "80:80"
# - "443:443"
# volumes:
# - /opt/app/Caddyfile:/etc/caddy/Caddyfile:ro
# - /opt/app/certs:/etc/caddy/certs:ro
# depends_on:
# - app