This repository has been archived by the owner on Jul 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.development.yml
79 lines (73 loc) · 1.71 KB
/
docker-compose.development.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
version: '3.5'
services:
dev:
image: node:12.10.0
depends_on:
- postgres
- redis
volumes:
- nodemodules:/usr/src/service/node_modules
- .:/usr/src/service
working_dir: /usr/src/service
environment:
- NODE_ENV=development
- REDIS_HOST=redis
- DOCKER_POSTGRES=true
command: npm run dev
ports:
- 9500:9500
- 9229:9229 # For debugger
# Enable to ping DQM GUI
# pinging_dqm_gui:
# image: node:12.10.0
# depends_on:
# - postgres
# - dev
# volumes:
# - nodemodules:/usr/src/service/node_modules
# - .:/usr/src/service
# working_dir: /usr/src/service
# environment:
# - NODE_ENV=development
# - DOCKER_POSTGRES=true
# command: npm run start_pinging_gui
# Enable the following ports for debugging:
# ports:
# - 9229:9229 # For debugger
# processing_jsons:
# image: node:12.10.0
# depends_on:
# - postgres
# - dev
# - redis
# volumes:
# - nodemodules:/usr/src/service/node_modules
# - .:/usr/src/service
# working_dir: /usr/src/service
# environment:
# - NODE_ENV=development
# - DOCKER_POSTGRES=true
# command: npm run start_processing_jsons
# Enable the following ports for debugging:
# ports:
# - 9229:9229 # For debugger
postgres:
image: postgres:11.2-alpine
shm_size: 4gb
environment:
- POSTGRES_USER=hackathon
- POSTGRES_PASSWORD=
- POSTGRES_DB=runregistry_database
ports:
- '6543:5432'
redis:
image: redis:5.0.7-alpine
hostname: redis
volumes:
- redis_data:/data
ports:
- 6379:6379
volumes:
nodemodules:
external: true
redis_data: