forked from infamousjoeg/rundeck-playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
73 lines (64 loc) · 1.41 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
version: '3'
services:
# public-facing ssh host
bastion:
build: ssh
image: playground-ssh
ports:
- "2222:22"
# cli tool
rundeck-cli:
container_name: rundeck-playground_rundeck-cli_1
build:
context: rundeck-cli
args:
VERSION: "1.3.10"
image: playground-rundeck-cli
# plugin bootstrap tool
rundeck-plugin-bootstrap:
container_name: rundeck-playground_rundeck-plugin-bootstrap_1
build:
context: rundeck-plugin-bootstrap
args:
COMMIT: 2349c5d285801b241d7d4fee041e2d26d13cc8fb
image: playground-rundeck-plugin-bootstrap
# backend
database:
build: database
image: playground-database
environment:
POSTGRES_PASSWORD: theSecret3st1
volumes:
- db-data:/var/lib/postgresql/data
# middle tier
web_1:
build: web
image: playground-web
web_2:
build: web
image: playground-web
# public-facing http proxy
loadbalancer:
build: loadbalancer
image: playground-loadbalancer
ports:
- "8080:80"
# rundeck server
rundeck:
build: rundeck
image: playground-rundeck
ports:
- "4440:4440"
volumes:
- rundeck-data:/home/rundeck/server/data
command: -Drundeck.features.repository.enabled=true
# packager host
fpm:
build: fpm
image: playground-fpm
# fake s3 api
fakes3:
image: lphoward/fake-s3
volumes:
rundeck-data:
db-data: