-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathdocker-compose.demo.yml
47 lines (47 loc) · 1.43 KB
/
docker-compose.demo.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
version: '3.2'
services:
api:
image: kqueen/api:v1.0
ports:
- 127.0.0.1:5000:5000
depends_on:
- etcd
environment:
KQUEEN_CONFIG_FILE: config/demo.py
KQUEEN_DEBUG: 'False'
KQUEEN_LDAP_URI: 'ldap://ldap'
KQUEEN_LDAP_DN: 'cn=admin,dc=example,dc=org'
KQUEEN_LDAP_PASSWORD: 'heslo123'
KQUEEN_AUTH_MODULES: 'local,ldap'
KQUEEN_ETCD_HOST: etcd
KQUEEN_SECRET_KEY: 'SecretSecretSecret123'
BOOTSTRAP_ADMIN: 'True'
BOOTSTRAP_ADMIN_USERNAME: admin
BOOTSTRAP_ADMIN_PASSWORD: default
BOOTSTRAP_ADMIN_ORGANIZATION: DemoOrg
BOOTSTRAP_ADMIN_NAMESPACE: demoorg
extra_hosts:
- "ci.mcp.mirantis.net:172.16.48.254"
ui:
image: kqueen/ui:v1.0
ports:
- 127.0.0.1:5080:5080
depends_on:
- api
environment:
KQUEEN_UI_CONFIG_FILE: config/demo.py
KQUEENUI_DEBUG: 'False'
KQUEENUI_SECRET_KEY: 'SecretSecretSecret123'
KQUEENUI_KQUEEN_API_URL: http://api:5000/api/v1/
KQUEENUI_KQUEEN_AUTH_URL: http://api:5000/api/v1/auth
KQUEENUI_KQUEEN_SERVICE_USER_USERNAME: admin
KQUEENUI_KQUEEN_SERVICE_USER_PASSWORD: default
KQUEENUI_MAIL_SERVER: mail
KQUEENUI_MAIL_PORT: 10025
KQUEENUI_LDAP_AUTH_NOTIFY: 'False'
KQUEENUI_LOCAL_AUTH_NOTIFY: 'True'
# Uncomment this to enable sending validation emails
# mail:
# image: modularitycontainers/postfix
# environment:
# MYHOSTNAME: 'mail'