-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
66 lines (63 loc) · 1.67 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
56
57
58
59
60
61
62
63
64
65
66
version: '3'
services:
full-teaching-mysql:
container_name: full-teaching-mysql-${tjobname}
image: mysql:5.7.21
init: true
environment:
- MYSQL_ROOT_PASSWORD=pass
- MYSQL_DATABASE=full_teaching
- MYSQL_USER=ft-root
- MYSQL_PASSWORD=pass
networks:
- jenkins_network
ulimits:
nofile:
soft: 65536
hard: 65536
full-teaching-openvidu-server-kms:
container_name: full-teaching-${tjobname}-openvidu-server-kms
image: ${OpenViduImage}
init: true
expose:
- 8443
environment:
- KMS_STUN_IP=stun.l.google.com
- KMS_STUN_PORT=19302
- openvidu.secret=MY_SECRET
- openvidu.publicurl=https://full-teaching-${tjobname}-openvidu-server-kms:8443
networks:
- jenkins_network
ulimits:
nofile:
soft: 65536
hard: 65536
full-teaching:
container_name: full-teaching-${tjobname}
image: codeurjc/full-teaching:demo
init: true
depends_on:
- full-teaching-mysql
- full-teaching-openvidu-server-kms
expose:
- 5000
environment:
- WAIT_HOSTS=full-teaching-mysql-${tjobname}:3306
- WAIT_HOSTS_TIMEOUT=120
- MYSQL_PORT_3306_TCP_ADDR=full-teaching-mysql-${tjobname}
- MYSQL_PORT_3306_TCP_PORT=3306
- MYSQL_ENV_MYSQL_DATABASE=full_teaching
- MYSQL_ENV_MYSQL_USER=ft-root
- MYSQL_ENV_MYSQL_PASSWORD=pass
- server.port=5000
- openvidu.url=https://full-teaching-${tjobname}-openvidu-server-kms:8443
- openvidu.secret=MY_SECRET
networks:
- jenkins_network
ulimits:
nofile:
soft: 65536
hard: 65536
networks:
jenkins_network:
external: true