-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
94 lines (90 loc) · 2.67 KB
/
docker-compose.yaml
File metadata and controls
94 lines (90 loc) · 2.67 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
93
94
services:
ldap:
image: osixia/openldap:1.5.0
container_name: openldap-local
ports:
- target: 389
published: 389
protocol: tcp
- target: 636
published: 636
protocol: tcp
environment:
LDAP_ORGANISATION: "Black Mesa"
LDAP_DOMAIN: "blackmesa.gov"
LDAP_BASE_DN: "dc=blackmesa,dc=gov"
LDAP_ADMIN_PASSWORD: "admin"
LDAP_CONFIG_PASSWORD: "config"
LDAP_READONLY_USER: "false"
LDAP_RFC2307BIS_SCHEMA: "false"
LDAP_BACKEND: "mdb"
LDAP_TLS: "true"
KEEP_EXISTING_CONFIG: "false"
LDAP_REMOVE_CONFIG_AFTER_SETUP: "false"
LDAP_SSL_HELPER_PREFIX: "ldap"
LDAP_TLS_VERIFY_CLIENT: "never"
LDAP_OPENLDAP_UID: "1002"
LDAP_OPENLDAP_GID: "1002"
volumes:
- /srv/cellxgene-demo-ldap/db:/var/lib/ldap
- /srv/cellxgene-demo-ldap/config:/etc/ldap/slapd.d
- ./ldif/bootstrap.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/bootstrap.ldif
- ./ldif/config.ldif:/container/service/slapd/assets/config/bootstrap/ldif/03-relax-security.ldif
command: ["--copy-service", "--loglevel", "debug" ]
apache2:
image: cellxgene-proxy-local:latest
container_name: cellxgene-apache2-proxy
ports:
- target: 80
published: 80
protocol: tcp
- target: 443
published: 443
protocol: tcp
environment:
LDAPHOST: openldap-local
LDAPSEARCHBASE: 'ou=People,dc=blackmesa,dc=gov'
LDAPGROUPBASE: 'ou=Group,dc=blackmesa,dc=gov'
LDAPSEARCHATTR: uid
ADMINUSERS: "sysop admin"
ADMINGROUP: 'cn=admins'
tmpfs:
- /run:size=100M
- /run/lock:size=100M
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- ./group_mapping.txt:/srv/cellxgene/etc/cellxgene_templates/group_host_mapping
cgroup: host
cellxgene-gateway-public:
image: cellxgene-gateway:latest
container_name: cellxgene-public
ports:
- target: 5005
protocol: tcp
environment:
GATEWAY_PORT: 5005
volumes:
- /tmp/cellxgene_data:/cellxgene-data
command: ["cellxgene-gateway"]
cellxgene-gateway-grp1:
image: cellxgene-gateway:latest
container_name: cellxgene-grp1
ports:
- target: 5012
protocol: tcp
environment:
GATEWAY_PORT: 5012
volumes:
- /tmp/cellxgene_data:/cellxgene-data
command: ["cellxgene-gateway"]
cellxgene-gateway-grp2:
image: cellxgene-gateway:latest
container_name: cellxgene-grp2
ports:
- target: 5013
protocol: tcp
environment:
GATEWAY_PORT: 5013
volumes:
- /tmp/cellxgene_data:/cellxgene-data
command: ["cellxgene-gateway"]