-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.prod.yml
66 lines (59 loc) · 1.27 KB
/
docker-compose.prod.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
56
57
58
59
60
61
62
63
64
65
66
services:
server:
image: whenderson/equion_server
restart: always
expose:
- 80
depends_on:
- db
environment:
EQUION_DATABASE_URL: "mysql://root:hunter2@db:3306/equion"
db:
image: mysql:latest
restart: always
expose:
- 3306
volumes:
- ./domain/schema.sql:/docker-entrypoint-initdb.d/schema.sql
- data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: hunter2
voice:
image: peerjs/peerjs-server
restart: always
expose:
- 9000
command: [ "--port", "9000", "--path", "/", "--proxied" ]
web:
image: whenderson/equion_web
entrypoint: sh -c "cp -R /app/public/* /var/www/html"
volumes:
- website:/var/www/html
download_manager:
image: whenderson/equion_download_manager
restart: always
expose:
- 80
volumes:
- releaseData:/releaseData
environment:
EQUION_MATRIX_DATA_DIR: "/releaseData"
gateway:
image: nginx:latest
restart: always
depends_on:
- download_manager
- server
- voice
- web
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx.prod.conf:/etc/nginx/nginx.conf
- website:/var/www/html
- releaseData:/releaseData
volumes:
data:
website:
releaseData: