forked from banzaicloud/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
92 lines (82 loc) · 2.48 KB
/
docker-compose.yml
File metadata and controls
92 lines (82 loc) · 2.48 KB
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
85
86
87
88
89
90
91
92
version: "3.1"
services:
mysql:
image: mysql:5.7
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: pipeline
MYSQL_USER: sparky
MYSQL_PASSWORD: sparky123
volumes:
- ${PWD}/database/docker-init-mysql.sql:/docker-entrypoint-initdb.d/docker-init.sql
vault:
image: vault:1.3.2
command: server
cap_add:
- IPC_LOCK
volumes:
- $HOME:/home/vault
- ./etc/config/vault.hcl:/vault/config/vault.hcl
vault-unsealer:
image: banzaicloud/bank-vaults:1.0.1
depends_on:
- vault
restart: on-failure
command: unseal --init --mode file --file-path /vault/keys
environment:
VAULT_ADDR: http://vault:8200
volumes:
- ./etc/config/vault-config.yml:/vault-config.yml
vault-configurer:
image: banzaicloud/bank-vaults:1.0.1
depends_on:
- vault
- vault-unsealer
restart: on-failure
command: configure --mode file --file-path /vault/keys
environment:
VAULT_ADDR: http://vault:8200
volumes:
- ./etc/config/vault-config.yml:/vault-config.yml
vault-token-helper:
image: alpine
depends_on:
- vault-configurer
restart: on-failure
command: cp /vault/keys/vault-root /root/.vault-token
volumes:
- $HOME:/root
ui:
image: banzaicloud/pipeline-web:0.27.0
environment:
TAG: local
uiproxy:
build: etc/docker/uiproxy
depends_on:
- ui
environment:
CLOUDINFO_URL: https://beta.banzaicloud.io/cloudinfo
RECOMMENDER_URL: https://beta.banzaicloud.io/recommender
dex:
image: banzaicloud/dex-shim:0.6.0
command: serve /dex.yml
restart: on-failure
volumes:
- ./etc/config/dex.yml:/dex.yml
cadence:
image: ubercadence/server:0.7.1-auto-setup
environment:
LOG_LEVEL: debug,info
DB: mysql
MYSQL_SEEDS: mysql
MYSQL_USER: sparky
MYSQL_PWD: sparky123
depends_on:
- mysql
cadence-web:
image: ubercadence/web:3.4.1
environment:
CADENCE_TCHANNEL_PEERS: cadence:7933
depends_on:
- cadence