-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
37 lines (35 loc) · 1.26 KB
/
Copy pathdocker-compose.prod.yml
File metadata and controls
37 lines (35 loc) · 1.26 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
name: webworker-tech-new
services:
app:
image: ${IMAGE_NAME:-webworker-tech:ssr-amd64}
restart: unless-stopped
environment:
RSS_URL: ${RSS_URL:-https://feed.xyzfm.space/rv449dl9kqka}
EPISODES_DIR: /app/content/episodes
REDIS_URL: ${REDIS_URL:?REDIS_URL is required}
PUBLIC_SITE_URL: ${PUBLIC_SITE_URL:-https://webworker.tech}
PUBLIC_ALLOW_INDEXING: ${PUBLIC_ALLOW_INDEXING:-true}
JWT_SECRET: ${JWT_SECRET:?JWT_SECRET is required}
ADMIN_USERNAME: ${ADMIN_USERNAME:-admin}
ADMIN_PASSWORD: ${ADMIN_PASSWORD:?ADMIN_PASSWORD is required}
ADMIN_PASSWORD_SHA256: ${ADMIN_PASSWORD_SHA256:-}
RSS_AUTO_SYNC: ${RSS_AUTO_SYNC:-true}
RSS_AUTO_SYNC_INTERVAL_HOURS: ${RSS_AUTO_SYNC_INTERVAL_HOURS:-24}
HOST: 0.0.0.0
PORT: 4321
ports:
- "${HOST_PORT:-4322}:4321"
volumes:
- ${EPISODES_HOST_DIR:-./content/episodes}:/app/content/episodes
networks:
- default
- shared-redis
healthcheck:
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:4321/api/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
interval: 30s
timeout: 5s
retries: 5
networks:
shared-redis:
external: true
name: ${REDIS_DOCKER_NETWORK:-1panel-network}