forked from Inist-CNRS/lodex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.debug.yml
50 lines (47 loc) · 1.19 KB
/
docker-compose.debug.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
version: '3'
services:
node:
image: node:12
volumes:
- .:/app
working_dir: /app
user: '${UID}:${GID}'
environment:
DEBUG: ${DEBUG}
NODE_ENV: ${NODE_ENV}
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: 'localhost,127.0.0.1,'
EZMASTER_PUBLIC_URL: ${EZMASTER_PUBLIC_URL}
CI: ${CI}
links:
- mongo
- lodex-extended
depends_on:
- mongo
- lodex-extended
ports:
- 3000:3000
command: npm run development:api
dev-server: ## Enable hot-reload in development
image: node:12
volumes:
- .:/app
working_dir: /app
user: '${UID}:${GID}'
environment:
NODE_ENV: development
ports:
- 8080:8080
command: npm run dev:server
mongo:
image: mongo:3.4.1
command: '--smallfiles'
ports:
- 27017:27017
lodex-extended:
image: inistcnrs/lodex-extended:6.1.3
environment:
EZS_VERBOSE: 'true'
ports:
- 31976:31976