forked from LSFLK/Identity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (46 loc) · 1.06 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
version: '3'
services:
is:
build:
context: ./is
image: copper-is
container_name: copper-is
ports:
- "9443:9443"
environment:
HOSTNAME: 'localhost.com'
depends_on:
- openldap
openldap:
build:
context: ./openldap
image: copper-openldap
container_name: copper-openldap
environment:
LDAP_DOMAIN: 'copper.opensource.lk'
tty: true
stdin_open: true
ports:
- "389:389"
- "636:636"
domainname: "copper.opensource.lk" # important: same as hostname
hostname: "copper.opensource.lk"
# cn=admin,dc=copper,dc=opensource,dc=lk
phpldapadmin:
image: osixia/phpldapadmin:latest
container_name: phpldapadmin
environment:
PHPLDAPADMIN_LDAP_HOSTS: "openldap"
PHPLDAPADMIN_HTTPS: "false"
ports:
- "8080:80"
depends_on:
- openldap # service name
# mysql:
# image: mysql/mysql-server:5.7
# container_name: mysql
# environment:
# MYSQL_ROOT_PASSWORD: "toor"
# MYSQL_DATABASE: "wso2is"
# ports:
# - "3306:3306"