-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
47 lines (47 loc) · 1.28 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
mysql:
image: mysql:5.7
environment:
MYSQL_DATABASE: rundeck
MYSQL_USER: rundeck
MYSQL_PASSWORD: 701d8d441eafc7023c9076125b5c4fcc82bc713f
MYSQL_ROOT_PASSWORD: 701d8d441eafc7023c9076125b5c4fcc82bc713f
volumes:
- ./volume/mysql:/var/lib/mysql
ports:
- "3306:3306"
rundeck1:
build: .
environment:
MYSQL_DATABASE: rundeck
MYSQL_USER: rundeck
MYSQL_PASSWORD: 701d8d441eafc7023c9076125b5c4fcc82bc713f
HOST_RUNDECK: localhost
SERVER_URL: https://localhost:4443
PASSWORD: admin
ports:
- "4443:4443"
links:
- mysql
volumes:
- ./volume/etc1:/etc/rundeck
- ./volume/rundeck:/var/rundeck
- ./volume/lib:/var/lib/rundeck
- ./volume/log:/var/log/rundeck
rundeck2:
build: .
environment:
MYSQL_DATABASE: rundeck
MYSQL_USER: rundeck
MYSQL_PASSWORD: 701d8d441eafc7023c9076125b5c4fcc82bc713f
HOST_RUNDECK: localhost
SERVER_URL: https://localhost:4442
PASSWORD: admin
ports:
- "4442:4443"
links:
- mysql
volumes:
- ./volume/etc2:/etc/rundeck
- ./volume/rundeck:/var/rundeck
- ./volume/lib:/var/lib/rundeck
- ./volume/log:/var/log/rundeck