mirror of https://github.com/kern/filepizza
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
952 B
YAML
47 lines
952 B
YAML
services:
|
|
redis:
|
|
image: redis:latest
|
|
ports:
|
|
- 127.0.0.1:6379:6379
|
|
networks:
|
|
- filepizza
|
|
volumes:
|
|
- redis_data:/data
|
|
coturn:
|
|
image: coturn/coturn
|
|
ports:
|
|
- 3478:3478
|
|
- 3478:3478/udp
|
|
- 5349:5349
|
|
- 5349:5349/udp
|
|
- 60000-60128:60000-60128/udp
|
|
environment:
|
|
- DETECT_EXTERNAL_IP=yes
|
|
- DETECT_RELAY_IP=yes
|
|
command: -n --log-file=stdout --redis-userdb="ip=redis connect_timeout=30" --min-port=60000 --max-port=60128
|
|
networks:
|
|
- filepizza
|
|
filepizza:
|
|
build: .
|
|
image: kern/filepizza:latest
|
|
ports:
|
|
- 0.0.0.0:80:80
|
|
environment:
|
|
- PORT=80
|
|
- REDIS_URL=redis://redis:6379
|
|
- COTURN_ENABLED=true
|
|
# - API_ORIGINS=https://example.com,https://app.example.com:3000
|
|
networks:
|
|
- filepizza
|
|
depends_on:
|
|
- redis
|
|
env_file:
|
|
- .env
|
|
|
|
networks:
|
|
filepizza:
|
|
driver: bridge
|
|
|
|
volumes:
|
|
redis_data:
|