This repository was archived by the owner on Mar 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
78 lines (74 loc) · 1.35 KB
/
docker-compose.yml
File metadata and controls
78 lines (74 loc) · 1.35 KB
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
version: "3"
services:
db:
image: mongo:4.2.1
volumes:
- ${MONGO_VOLUME_MOUNT}:/data/db
networks:
- database
restart: unless-stopped
api:
build:
context: ./backend/api
args:
- http_proxy
- https_proxy
- no_proxy
environment:
- MONGO_URI
- LDAP_URI
- LDAP_SEARCH_BASE
- LDAP_USER_KEY
- LDAP_EMAIL_DOMAIN
- LDAP_ADMIN_KEY
- LDAP_ADMIN_VALUE
networks:
- database
- backend
restart: unless-stopped
secrets:
- jwt_secret
# - ldap_ca_crt
service:
build:
context: ./backend/service
args:
- http_proxy
- https_proxy
- no_proxy
environment:
- MONGO_URI
networks:
- database
- backend
restart: unless-stopped
nginx:
build:
context: ./frontend
args:
- http_proxy
- https_proxy
- no_proxy
environment:
- WEB_URL
ports:
- "80:80"
- "443:443"
networks:
- backend
restart: unless-stopped
# secrets:
# - go_https_crt
# - go_https_key
secrets:
jwt_secret:
file: ./.secrets/jwt_secret
# ldap_ca_crt:
# file: ./.secrets/ldap_ca_crt
# go_https_crt:
# file: ./.secrets/go_https_crt
# go_https_key:
# file: ./.secrets/go_https_key
networks:
database:
backend: