-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathdocker-compose-caddy.yml
50 lines (50 loc) · 998 Bytes
/
docker-compose-caddy.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
services:
lightmirrors:
image: lightmirrors/mirrors
build:
context: ./src
volumes:
- ./src/:/app
- ./data/cache:/app/cache
env_file:
- .env
environment:
- SSL_SELF_SIGNED=false
networks:
- app
restart: unless-stopped
# for linux
extra_hosts:
- "host.docker.internal:host-gateway"
caddy:
image: lightmirrors/caddy
build:
context: caddy
dockerfile: Dockerfile
ports:
- "80:80"
- "443:443"
volumes:
- ./caddy/Caddyfile:/etc/caddy/Caddyfile
- ./caddy/caddy_data:/data/caddy
env_file:
- .env
networks:
- app
restart: unless-stopped
aria2:
image: lightmirrors/aria2
build: ./aria2
volumes:
- ./aria2/aria2.conf:/aria2.conf
- ./data/cache:/app/cache
- ./data/aria2:/data/
networks:
- app
env_file:
- .env
restart: unless-stopped
networks:
app:
name: lightmirrors_app
driver: bridge