-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdocker-compose.yml
46 lines (39 loc) · 981 Bytes
/
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
services:
#####
# reverse proxy for the whole environment
#####
nginx:
image: nginx:1.23.1-alpine
network_mode: host
volumes:
- ./dev/resources/nginx.conf:/etc/nginx/nginx.conf:ro
#####
# related services from the data-fair stack
#####
simple-directory:
image: ghcr.io/data-fair/simple-directory:master
network_mode: host
depends_on:
- mongo
environment:
- ADMINS=["[email protected]"]
- PUBLIC_URL=http://localhost:5600/simple-directory
- OBSERVER_ACTIVE=false
- CIPHER_PASSWORD=dev
- MONGO_URL=mongodb://localhost:27017/simple-directory
- STORAGE_TYPE=file
volumes:
- ./dev/resources/users.json:/app/data/users.json
- ./dev/resources/organizations.json:/app/data/organizations.json
#####
# db
#####
mongo:
image: mongo:4.2
ports:
- 27017:27017
volumes:
- mongo-data:/data/db
volumes:
mongo-data: