-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
50 lines (44 loc) · 1.04 KB
/
docker-compose.yml
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
42
43
44
45
46
47
48
49
50
version: "3"
services:
proxy:
image: caddy:2.6.2-alpine
restart: always
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
ports:
- "80:80"
- "443:443"
auth:
image: authelia/authelia:4.37.5
restart: always
volumes:
- ./authelia:/config
send:
image: "registry.gitlab.com/timvisee/send:v3.4.22"
restart: always
volumes:
- /var/lib/send/uploads:/uploads
environment:
- NODE_ENV=production
- BASE_URL=https://<DOMAIN>
- PORT=1443
- REDIS_HOST=redis
- FILE_DIR=/uploads
- DOWNLOAD_COUNTS=1,2,5,10,15,25,50,100,1000
- DEFAULT_DOWNLOADS=100
- MAX_DOWNLOADS=1001
- EXPIRE_TIMES_SECONDS=3600,86400,604800,2592000
- DEFAULT_EXPIRE_SECONDS=2592000
- MAX_EXPIRE_SECONDS=2592001
redis:
image: 'redis:7.0.8-alpine'
restart: always
volumes:
- send-redis:/data
command: redis-server --appendonly yes
volumes:
send-redis:
caddy_data:
caddy_config: