-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
51 lines (44 loc) · 1.05 KB
/
docker-compose.yaml
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
version: '3'
services:
ssh:
build: ssh
deploy:
labels:
tags: ssh
ports:
- "22"
rundeck-oss:
build:
context: rundeck
ports:
- "4441:4440"
- "22"
links:
- ssh
- mysql
environment:
- RUNDECK_URL=http://localhost:4441
- CONFIG_SCRIPT_PRESTART=scripts/database
- CONFIG_SCRIPT_POSTSTART=scripts/import_project
- DATABASE_DRIVER=com.mysql.jdbc.Driver
- DATABASE_URL=jdbc:mysql://mysql:3306/rundeckdb?autoReconnect=true&useUnicode=yes
- DATABASE_USER=rundeck
- DATABASE_PASS=rundeck123.
- DATABASE_DIALECT=org.hibernate.dialect.MySQL5InnoDBDialect
- DOCKER_GNAME=docker
volumes:
- /var/run/docker.sock:/var/run/docker.sock
mysql:
image: 'mysql:5.6'
ports:
- '33060:3306'
volumes:
- 'mysql_data:/var/lib/mysql'
environment:
- MYSQL_ROOT_PASSWORD=rundeck123.
- MYSQL_USER=rundeck
- MYSQL_PASSWORD=rundeck123.
- MYSQL_DATABASE=rundeckdb
volumes:
mysql_data:
driver: local