-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
116 lines (105 loc) · 1.99 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
version: '3.2'
services:
api:
env_file:
- ./config/.env
build:
context: server/
dockerfile: api/Dockerfile
ports:
- 2020:2020
networks:
- backend
- frontend
command: "/bin/sh /tools/wait-for.sh db:3306 -- \
/bin/sh /tools/wait-for.sh minio:9000 -- \
/bin/sh /tools/wait-for.sh redis:6379 -- \
python3 /api/app.py"
web:
build: ./server/web
networks:
- frontend
restart: always
depends_on:
- api
redis:
env_file:
- ./config/.env
image: redis
ports:
- 6380:6379
networks:
- backend
restart: always
command: "redis-server --requirepass ${REDIS_PASSWORD}"
minio:
env_file:
- config/.env
image: minio/minio
volumes:
- ./dfs/data:/data
- ./config/.minio:/root/.minio
ports:
- 9001:9000
command: server /data
networks:
- backend
restart: always
db:
env_file:
- ./config/.env
image: mariadb
ports:
- 3307:3306
command:
- --interactive_timeout=28800
networks:
- backend
restart: always
proxy:
image: nginx:alpine
volumes:
- ./config/nginx.conf:/etc/nginx/nginx.conf
ports:
- 8080:80
networks:
- frontend
restart: always
depends_on:
- lam
- api
# - web
ldap:
env_file:
- ./config/.env
image: osixia/openldap:1.3.0
ports:
- 389:389
networks:
backend:
aliases:
- ldap
- ldap.openweblib.com
restart: always
lam:
env_file:
- ./config/.env
image: ldapaccountmanager/lam:7.0
ports:
- 3030:80
networks:
- frontend
- backend
restart: always
auth-proxy:
env_file:
- ./config/.env
build:
context: server/nginx-ldap-auth
dockerfile: Dockerfile
networks:
- frontend
- backend
networks:
frontend:
backend: