-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (45 loc) · 1.05 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
version: '3'
services:
sd:
profiles:
- dev
- test
image: ghcr.io/data-fair/simple-directory:7
platform: linux/amd64
network_mode: host
depends_on:
- mongo
environment:
- DEBUG=webhooks
- ADMINS=["superadmin@test.com"]
- PUBLIC_URL=http://localhost:5994/simple-directory
- MAILDEV_ACTIVE=true
- STORAGE_TYPE=file
- NUXT_BUILD_BLOCKING=false
- NO_UI=${NO_UI}
- SECRET_SENDMAILS=sendmails-secret
- AUTHRATELIMIT_ATTEMPTS=200
volumes:
- ./test/resources/users.json:/webapp/data/users.json
- ./test/resources/organizations.json:/webapp/data/organizations.json
healthcheck:
test: ["CMD", "nc", "-z", "-v", "localhost", "8080"]
interval: 5s
openapi-viewer:
profiles:
- dev
image: ghcr.io/data-fair/openapi-viewer:1
platform: linux/amd64
ports:
- 5680:8080
mongo:
profiles:
- dev
- test
image: mongo:4.2
ports:
- 27017:27017
volumes:
- mongo-data:/data/db
volumes:
mongo-data: