forked from dpgaspar/Flask-AppBuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (37 loc) · 999 Bytes
/
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
version: "3.7"
services:
postgres:
container_name: fab-postgres
image: postgres:14
restart: unless-stopped
env_file: .env
command: postgres -c 'max_connections=500'
environment:
POSTGRES_DB: app
POSTGRES_PASSWORD: pguserpassword
POSTGRES_USER: pguser
ports:
- 5432:5432
mongo:
container_name: fab-mongo
image: mongo
restart: unless-stopped
environment:
MONGO_INITDB_DATABASE: app
ports:
- 27017:27017
ldap:
container_name: fab-ldap
image: bitnami/openldap:2.6.4
environment:
LDAP_URI: ldap://openldap:1389
LDAP_BASE: dc=example,dc=org
LDAP_ADMIN_USERNAME: admin
LDAP_ADMIN_PASSWORD: admin_password
LDAP_CUSTOM_LDIF_DIR: /ldifs
LDAP_EXTRA_SCHEMAS: cosine,inetorgperson,nis,memberof
volumes:
- './docker/openldap/ldifs:/ldifs'
- './docker/openldap/schemas/memberof.ldif:/opt/bitnami/openldap/etc/schema/memberof.ldif'
ports:
- 1389:1389