-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
50 lines (46 loc) · 980 Bytes
/
docker-compose.yaml
File metadata and controls
50 lines (46 loc) · 980 Bytes
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
version: "3.8"
services:
go-app:
build:
context: .
dockerfile: Dockerfile
container_name: laclm
ports:
- "8080:8080"
volumes:
- ./config.yaml:/app/config.yaml
- ./.env:/app/.env
- ./logs/app.log:/app/logs/app.log
- /tmp/testnfs:/mnt/nfs-system
depends_on:
- openldap
# - redis
networks:
- backend
openldap:
image: osixia/openldap:latest
container_name: institutional-openldap
environment:
LDAP_ORGANISATION: "My Org"
LDAP_DOMAIN: "myorg.local"
LDAP_ADMIN_PASSWORD: "admin"
ports:
- "389:389"
- "636:636"
networks:
- backend
phpldapadmin:
image: osixia/phpldapadmin:0.9.0
container_name: phpldapadmin
environment:
PHPLDAPADMIN_LDAP_HOSTS: openldap
PHPLDAPADMIN_HTTPS: "false"
ports:
- "8090:80"
depends_on:
- openldap
networks:
- backend
networks:
backend:
driver: bridge