-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
80 lines (72 loc) · 2.16 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
# The following fig.yml file starts up the agave_id service in single-tenant mode. It defaults to
# using an image, but you can also build from source if you prefer. You will need to endure that
# MULTI_TENANT=False is set in your local_settings.py file first.
version: '3'
services:
agaveid:
image: agaveplatform/pyprofiles-api:2.2.24
# Uncomment the following line (and comment the build line just above) to build from source
build:
context: .
ports:
- "8000:80"
links:
- ldap
volumes:
- ./agave_id:/code/agave_id
# - ./apache-access.log:/var/log/apache2/access.log
# - ./django.log:/tmp/django.log
environment:
HOST_IP:
PYTHONUNBUFFERED: 1
LDAP_PORT: ldap://ldap:389
IPLANT_NOTIFICATION_SERVICE_QUEUE: dev.notifications.queue
DJANGO_SETTINGS_MODULE: agave_id.settings
IPLANT_MESSAGING_HOST: beanstalkd
AGAVE_AUTH_TYPE: noauth
# use_custom_ldap: 'true'
# auth_ldap_bind_dn: 'cn=admin,ou=tenantsandbox,dc=agaveplatform,dc=org'
# auth_ldap_bind_password: 'p@ssword'
# ldap_base_search_dn: 'ou=People,ou=tenantsandbox,dc=agaveplatform,dc=org'
#
# ldap:
# image: osixia/openldap:1.2.5
# command:
# - "--copy-service"
# restart: always
# ports:
# - "10389:389"
# environment:
# LDAP_DOMAIN: agaveplatform.org
# LDAP_ORGANISATION: Agave
# LDAP_ADMIN_PASSWORD: p@ssword
# LDAP_TLS: "false"
# volumes:
# - ./ldap:/container/service/slapd/assets/config/bootstrap/ldif/custom
ldap:
image: jstubbs/slapd
environment:
- LDAP_DOMAIN=agaveapi
- LDAP_ORGANISATION="Agave"
- LDAP_ROOTPASS=p@ssword
ports:
- "10389:389"
maildev:
image: agaveplatform/maildev:latest
ports:
- "8001:80"
- "10025:25"
environment:
# SMTP username to connect to the server
INCOMING_USERNAME: agavedev
# SMTP password to connect to the server
INCOMING_PASSWORD: password
# web ui username
WEB_USER: maildev
# web ui password
WEB_PASS: password
beanstalkd:
image: agaveplatform/beanstalkd
restart: always
ports:
- '11300:11300'