-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (52 loc) · 1.07 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
51
52
53
54
55
version: "3.5"
services:
web:
image: nginx
volumes:
- ./Docker/NGINX/Config/:/etc/nginx/conf.d
- ./Docker/NGINX/Certs/:/srv
links:
- sora
depends_on:
- sora
ports:
- 80:80
- 443:443
restart: on-failure
sora:
image: sora
build: ./
volumes:
- ./data/sora_data/:/app/dat
- ./plugins/:/app/plugins
links:
- db
- redis
depends_on:
- db
- redis
restart: on-failure
environment:
- COS_READONLY=true
expose:
- 4312
redis:
image: redis
volumes:
- ./data/redis_data/:/data
restart: on-failure
expose:
- 6379
db:
container_name: db
image: mysql:5.7.23
command: --default-authentication-plugin=mysql_native_password
volumes:
- ./data/mysql_data/:/var/lib/mysql
- ./Docker/MYSQL/:/etc/mysql/conf.d
restart: on-failure
environment:
- MYSQL_ROOT_PASSWORD=supersecretpasswordthatnobodywilleverknowsincenobodycanconencttothisdatabasepog
- MYSQL_ROOT_HOST=%
expose:
- 3306