-
Notifications
You must be signed in to change notification settings - Fork 163
/
docker-compose.yml
95 lines (85 loc) · 2.57 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
85
86
87
88
89
90
91
92
93
94
95
version: "3.1"
services:
mysql:
image: mysql:5.7
platform: linux/amd64
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.6.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.16.0
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.16.0
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.42.1
environment:
TAG: local
uiproxy:
build: etc/docker/uiproxy
depends_on:
- ui
environment:
CLOUDINFO_URL: https://try.pipeline.banzai.cloud/cloudinfo
RECOMMENDER_URL: https://try.pipeline.banzai.cloud/recommender
dex:
image: banzaicloud/dex-shim:0.7.0
command: serve /dex.yml
restart: on-failure
depends_on:
- mysql
volumes:
- ./etc/config/dex.yml:/dex.yml
cadence:
image: ubercadence/server:0.23.2-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:v3.32.0
environment:
CADENCE_TCHANNEL_PEERS: cadence:7933
depends_on:
- cadence