-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
74 lines (68 loc) · 1.41 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
version: '2.2'
services:
gosa:
image: gonicus/gosa:latest
container_name: gosa-docker
ports:
- "8000:8000"
networks:
- backbone
depends_on:
- openldap
- db
- mqtt
- cups
volumes:
- ./config/gosa:/etc/gosa
openldap:
image: gonicus/openldap:latest
container_name: openldap-docker
restart: always
networks:
- backbone
ports:
- "389:389"
- "636:636"
volumes:
- ./config/ldap/db:/var/lib/ldap
- ./config/ldap/etc:/etc/ldap
- ./config/ldap/ldif:/provision
db:
image: postgres
container_name: db-docker
networks:
- backbone
restart: always
environment:
POSTGRES_PASSWORD: secret
volumes:
- ./config/postgresql/init:/docker-entrypoint-initdb.d
- ./config/postgresql/db:/var/lib/postgresql/data
ports:
- "5432:5432"
cups:
image: gonicus/cups:latest
container_name: cups-docker
networks:
- backbone
volumes:
- ./config/cups/cupsd.conf:/etc/cups/cupsd.conf
restart: always
ports:
- "8631:8631"
mqtt:
image: gonicus/mosquitto:latest
container_name: mqtt-docker
restart: always
networks:
- backbone
environment:
HTTP_AUTH_HOST: gosa-docker
volumes:
- ./config/mosquitto:/provision/mosquitto
ports:
- "1883:1883"
- "8883:8883"
networks:
backbone:
driver: bridge