forked from CCI-MIT/POGS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
106 lines (104 loc) · 2.5 KB
/
docker-compose.yml
File metadata and controls
106 lines (104 loc) · 2.5 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
version: '2'
services:
database:
image: mysql:8
container_name: pogsmysql
ports:
- "3307:3306"
#command: mysqld --sql_mode=""
command: mysqld --default-authentication-plugin=mysql_native_password
volumes:
- .mysql:/var/lib/mysql
- .docker/pogsserver/sql/:/docker-entrypoint-initdb.d
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE : ${MYSQL_DATABASE}
TZ : America/New_York
#MYSQL_USER: ${MYSQL_USER}
#MYSQL_PASSWORD: 1234
networks:
- test-network
nodeserver:
build :
context: ./src/main/resources/plugins/typingEtherpadPlugin/etherpad-server/
dockerfile: Dockerfile
environment:
- ALLOW_OVERRIDE=${ALLOW_OVERRIDE}
- ETHERPAD_PASSWORD=${ETHERPAD_PASSWORD}
- NODE_ENV=${NODE_ENV}
- TZ=America/New_York
ports:
- "9001:9001"
links:
- database
- redisserver
#volumes:
# - mci-sync:/home/mci:nocopy
restart: always
networks:
- test-network
depends_on:
- database
- redisserver
pogsserver:
build :
context: .
dockerfile: .docker/pogsserver/Dockerfile
environment:
- ALLOW_OVERRIDE=${ALLOW_OVERRIDE}
- POGS_PASSWORD=${POGS_PASSWORD}
- VIDEO_PROVIDER_PRIVATE_KEY_PATH=${VIDEO_PROVIDER_PRIVATE_KEY_PATH}
- VIDEO_PROVIDER_API_KEY=${VIDEO_PROVIDER_API_KEY}
- VIDEO_PROVIDER_APP_ID=${VIDEO_PROVIDER_APP_ID}
- SMTP_HOST=${SMTP_HOST}
- SMTP_PORT=${SMTP_PORT}
- SMTP_USERNAME=${SMTP_USERNAME}
- SMTP_PASSWORD=${SMTP_PASSWORD}
ports:
- "8080:8080"
links:
- database
- redisserver
restart: always
#restart: unless-stopped
#volumes:
# - mci-sync:/home/mci:nocopy
volumes:
- .imagefiles:/app/uploadedFiles
networks:
- test-network
depends_on:
- database
- redisserver
pythonserver:
build :
context: .
dockerfile: .docker/pythonserver/Dockerfile
environment:
- ALLOW_OVERRIDE=${ALLOW_OVERRIDE}
ports:
- "8082:8082"
links:
- database
- redisserver
restart: always
#restart: unless-stopped
#volumes:
# - mci-sync:/home/mci:nocopy
networks:
- test-network
depends_on:
- database
- redisserver
redisserver:
image: redis
ports:
- "6380:6379"
networks:
- test-network
networks:
test-network:
driver: bridge
ipam:
config:
- subnet: "192.168.10.0/24"