forked from NetFree-Community/TheChannel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (44 loc) · 872 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (44 loc) · 872 Bytes
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
services:
redis:
image: apache/kvrocks
container_name: redis
restart: always
depends_on:
- caddy
user: root
command: -c /kvrocks.conf
volumes:
- ./data:/data
- ./redis_data:/var/lib/kvrocks
- ./kvrocks.conf:/kvrocks.conf
backend:
build:
context: .
dockerfile: Dockerfile
container_name: backend
depends_on:
- redis
restart: always
env_file:
- .env
networks:
- app-network
volumes:
- ./channel_data:/app/files
- ./data:/app/data
- ./logs:/app/logs
caddy:
image: caddy:2-alpine
restart: always
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ./caddy_data:/data
- ./caddy_config:/config
networks:
- app-network
networks:
app-network:
driver: bridge