forked from banzaicloud/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml.dist
171 lines (154 loc) · 5.34 KB
/
docker-compose.override.yml.dist
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
version: "3.1"
services:
mysql:
# needed for Linux users
# user: "${uid}:${gid}"
ports:
- 127.0.0.1:3306:3306
volumes:
- ./.docker/volumes/mysql:/var/lib/mysql
postgres:
image: postgres:9.6
environment:
POSTGRES_DB: pipeline
POSTGRES_USER: sparky
POSTGRES_PASSWORD: sparky123
PGDATA: /var/lib/postgresql/data/pgdata/
ports:
- 127.0.0.1:5432:5432
volumes:
- ./.docker/volumes/postgres:/var/lib/postgresql/data/pgdata/
- ${PWD}/database/docker-init-postgres.sql:/docker-entrypoint-initdb.d/docker-init.sql
adminer:
ports:
- 127.0.0.1:8080:8080
vault:
ports:
- 127.0.0.1:8200:8200
volumes:
- ./.docker/volumes/vault/file:/vault/file
vault-unsealer:
# needed for Linux users
# user: "${uid}:${gid}"
volumes:
- ./.docker/volumes/vault/keys:/vault/keys
vault-configurer:
# needed for Linux users
# user: "${uid}:${gid}"
volumes:
- ./.docker/volumes/vault/keys:/vault/keys
vault-token-helper:
# needed for Linux users
# user: "${uid}:${gid}"
volumes:
- ./.docker/volumes/vault/keys:/vault/keys
# cicd-server:
# image: banzaicloud/cicd:0.8.7
# entrypoint:
# - /bin/cicd-server
# restart: on-failure
# ports:
# - 127.0.0.1:8000:8000
# - 127.0.0.1:9000:9000
# environment:
# CICD_HOST: http://localhost:8000
# CICD_DEBUG: "true"
# CICD_GITHUB: "true"
# # CICD_GITLAB: "true"
# CICD_OPEN: "true"
# CICD_ORGS:
# CICD_DATABASE_DRIVER: mysql
# CICD_DATABASE_DATASOURCE: sparky:sparky123@tcp(mysql:3306)/cicd?parseTime=true
# # CICD_DATABASE_DRIVER: postgres
# # CICD_DATABASE_DATASOURCE: postgres://sparky:sparky123@postgres:5432/cicd?sslmode=disable
# CICD_SECRET: "s3cr3t"
# CICD_REPO_CONFIG: ".banzaicloud/pipeline.yaml"
# CICD_CORS_ALLOW_ALL_ORIGINS: "false"
# CICD_CORS_ALLOW_ORIGINS: "http://localhost:4200"
# CICD_EXTERNAL_URL: https://my-cicd.serveo.net
# PIPELINE_BASEPATH: https://my-pipeline.serveo.net/pipeline
# PIPELINE_EXTERNAL_BASEPATH: https://my-pipeline.serveo.net/pipeline
# cicd-agent:
# image: banzaicloud/cicd:0.8.7
# depends_on:
# - cicd-server
# volumes:
# - $HOME/.kube:/root/.kube
# - $HOME/.minikube:/root/.minikube
# entrypoint:
# - /bin/cicd-agent
# restart: on-failure
# environment:
# CICD_SERVER: cicd-server:9000
# CICD_SECRET: "s3cr3t"
# PIPELINE_BASEPATH: https://my-pipeline.serveo.net/pipeline
# PIPELINE_EXTERNAL_BASEPATH: https://my-pipeline.serveo.net/pipeline
ui:
image: banzaicloud/pipeline-web:latest
environment:
CLOUDINFO_URL: http://localhost:4200/cloudinfo
RECOMMENDER_URL: http://localhost:4200/recommender
API_URL: http://localhost:9090
CICD_URL: http://localhost:8000
uiproxy:
build: etc/docker/uiproxy
ports:
- 127.0.0.1:4200:80
volumes:
- ./config/ui/feature-set.json:/usr/share/nginx/html/assets/config/feature-set.json
dex:
ports:
- 127.0.0.1:5556:5556
- 127.0.0.1:5557:5557
- 127.0.0.1:5558:5558
cadence:
ports:
- 127.0.0.1:7933:7933
- 127.0.0.1:7934:7934
- 127.0.0.1:7935:7935
cadence-web:
ports:
- 127.0.0.1:8088:8088
# Uncomment the following two services to enable Anchore.
# anchore-db:
# image: "postgres:9"
# environment:
# - POSTGRES_PASSWORD=mysecretpassword
# - PGDATA=/var/lib/postgresql/data/pgdata/
# ports:
# - "5432:5432"
# volumes:
# - ./.docker/volumes/anchore-db:/var/lib/postgresql/data/pgdata/:z
#
# anchore-engine:
# image: docker.io/anchore/anchore-engine:v0.5.1
# depends_on:
# - anchore-db
# environment:
# - ANCHORE_HOST_ID=dockerhostid-anchore-engine
# - ANCHORE_ENDPOINT_HOSTNAME=anchore-engine
# ports:
# - "8228:8228"
# - "8338:8338"
# volumes:
# - ./etc/config/anchore.yaml:/config/config.yaml:z
# ldap:
# image: osixia/openldap:1.3.0
# ports:
# - 127.0.0.1:389:389
# volumes:
# - ldap-config:/container/service/slapd/assets/config/bootstrap/ldif/custom/
# environment:
# LDAP_REMOVE_CONFIG_AFTER_SETUP: "false"
# LDAP_TLS: "false"
# depends_on:
# - ldap-config
#
# ldap-config:
# image: osixia/openldap:1.3.0
# command: cp /tmp/ldap.ldif /ldap-config/
# volumes:
# - ./etc/config/ldap.ldif:/tmp/ldap.ldif
# - ldap-config:/ldap-config
# volumes:
# ldap-config: