-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
128 lines (121 loc) · 3.76 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
117
118
119
120
121
122
123
124
125
126
127
128
version: "3"
services:
sd:
profiles:
- dev
- test
image: ghcr.io/data-fair/simple-directory:7
network_mode: host
environment:
- ADMINS=["[email protected]"]
- PUBLIC_URL=http://localhost:6200/simple-directory
- MAILDEV_ACTIVE=true
- STORAGE_TYPE=file
- ROLES_DEFAULTS=["admin", "contrib", "user"]
- PROMETHEUS_ACTIVE=false
- NUXT_BUILD_BLOCKING=false
- NO_UI=${NO_UI}
- AUTHRATELIMIT_ATTEMPTS=200
- SECRET_SITES=secret-sites
# - MANAGE_SITES=true
- MANAGE_DEPARTMENTS=true
- MANAGE_PARTNERS=true
volumes:
- ./test/resources/users.json:/webapp/data/users.json
- ./test/resources/organizations.json:/webapp/data/organizations.json
- ./data/sd-security:/webapp/security/
notify:
profiles:
- dev
- test
image: ghcr.io/data-fair/notify:master
network_mode: host
environment:
- PORT=8088
- PUBLIC_URL=http://localhost:6200/notify
- DIRECTORY_URL=http://localhost:6200/simple-directory
- SECRET_NOTIFICATIONS=secret-notifications
- SECRET_SENDMAILS=secret-sendmails
- PROMETHEUS_ACTIVE=false
data-fair:
profiles:
- dev
image: ghcr.io/data-fair/data-fair:master
restart: on-failure:10
network_mode: host
# command: /webapp/node_modules/.bin/nodemon server
environment:
- PORT=6201
- DEBUG=files,workers*
- MONGO_URL=mongodb://localhost:27017/data-fair
- OPENAPI_VIEWER_URL=http://localhost:6200/openapi-viewer/
- NOTIFY_URL=http://localhost:6200/notify
- DIRECTORY_URL=http://localhost:6200/simple-directory
- CAPTURE_URL=http://localhost:6200/capture
- PRIVATE_URL=http://localhost:8087
- PUBLIC_URL=http://localhost:6200/data-fair
- WS_PUBLIC_URL=ws://localhost:6200/data-fair
- EXTRA_NAV_ITEMS=[{"id":"portals","iframe":"http://localhost:6200/manager/portals","icon":"mdi-presentation","title":"Portail de données"}]
# - EXTRA_NAV_ITEMS='[{"id": "processings","can":"contrib", "iframe": "https://staging-koumoul.com/data-fair-processings/embed/processings", "icon": "mdi-cog-transfer-outline", "title": "Traitements périodiques"},{"id": "portal","href": "https://data.staging-koumoul.com", "icon": "mdi-presentation", "title": "Portail de données"}]'
- OBSERVER_ACTIVE=false
# - EXPORT_REST_DATASETS_CRON=* * * * *
volumes:
- ./data/data-fair:/data
processings-api:
profiles:
- dev
image: ghcr.io/data-fair/processings/api:master
network_mode: host
environment:
- PORT=8089
- ORIGIN=http://localhost:6200
- PRIVATE_DIRECTORY_URL=http://localhost:6200/simple-directory
- OBSERVER_ACTIVE=false
processings-ui:
profiles:
- dev
image: ghcr.io/data-fair/processings/ui:master
ports:
- 8090:8080
elasticsearch:
profiles:
- dev
image: ghcr.io/data-fair/elasticsearch:7.17.1
ports:
- 9200:9200
- 9300:9300
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- ingest.geoip.downloader.enabled=false
- ES_JAVA_OPTS=-Xms2g -Xmx2g
healthcheck:
test: ["CMD", "nc", "-z", "-v", "localhost", "9200"]
start_period: 10s
interval: 5s
retries: 5
mongo:
profiles:
- dev
- test
image: mongo:4.2
ports:
- 27017:27017
openapi-viewer:
profiles:
- dev
image: koumoul/openapi-viewer:1
ports:
- 6202:8080
capture:
profiles:
- dev
image: ghcr.io/data-fair/capture:master
network_mode: host
shm_size: "1gb"
environment:
- PORT=8087
- DEBUG=capture
- PUBLIC_URL=http://localhost:6200/capture
- PROMETHEUS_ACTIVE=false
- PUPPETEER_ARGS=["--no-sandbox"]