-
Notifications
You must be signed in to change notification settings - Fork 41
/
docker-compose.yml
84 lines (83 loc) · 2.46 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: '3'
services:
rundeck:
container_name: rundeck
build:
context: rundeck
args:
RUNDECK_IMAGE: ${RUNDECK_IMAGE:-rundeck/rundeck:3.3.10}
links:
- mysql
environment:
RUNDECK_GRAILS_URL: http://localhost:4440
RUNDECK_DATABASE_DRIVER: org.mariadb.jdbc.Driver
RUNDECK_DATABASE_USERNAME: rundeck
RUNDECK_DATABASE_PASSWORD: rundeck
RUNDECK_DATABASE_URL: jdbc:mariadb://mysql/rundeck?autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true
RUNDECK_SERVER_ADDRESS: 0.0.0.0
RUNDECK_FEATURE_UINEXT_NAME: uiNext
RUNDECK_FEATURE_UINEXT_ENABLED: 'true'
ports:
- 4440:4440
mysql:
container_name: mysql
image: mysql:8
expose:
- 3306
cap_add:
- SYS_NICE # CAP_SYS_NICE reduces error messages in console
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=rundeck
- MYSQL_USER=rundeck
- MYSQL_PASSWORD=rundeck
client:
container_name: client
build:
context: client
args:
BUILD_DEV_IMAGE: ${BUILD_DEV_IMAGE:-rundeckpro/env-builder:latest}
environment:
CONFIG_FILE: /app/data/import.yml
CONFIG_FILES_PATH: /app/data
RUNDECK_URL: http://rundeck:4440
RUNDECK_API_URL: http://rundeck:4440
RUNDECK_USER: ${RUNDECK_USER:-admin}
RUNDECK_PASSWORD: ${RUNDECK_PASSWORD:-admin}
# generate key for nodes
KEY_PATH: /app/data/keys
volumes:
- shared-volume:/app/data/keys/
node:
container_name: node1
build:
context: node-demo
ports:
- "22"
environment:
- SSHD_PORT=22
- KEY_PATH=/app/data
volumes:
- shared-volume:/app/data/
node2:
container_name: node2
build:
context: node-demo
ports:
- "22"
environment:
- SSHD_PORT=22
- KEY_PATH=/app/data
volumes:
- shared-volume:/app/data/
ciao:
container_name: ciao
image: brotandgames/ciao
ports:
- '3000:3000'
environment:
- 'BASIC_AUTH_USERNAME=admin'
- 'BASIC_AUTH_PASSWORD=admin'
- 'CIAO_WEBHOOK_ENDPOINT_RUNDECK=http://rundeck:4440/api/38/webhook/fgl0TfHvIDLVXWUXtYDE9Ctxw7dctaxw#Server_Diagnostics_and_Recovery'
volumes:
shared-volume: