-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (48 loc) · 1.23 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
version: '3.8'
services:
app-backoffice-backend:
build: ./apps/backoffice/backend
ports:
- 3001:3001
volumes:
- ./apps/backoffice/backend:/app/apps/backoffice/backend
- ./Contexts:/app/Contexts
- ./package.json:/app/package.json
- ./yarn.lock:/app/yarn.lock
- ./.flowconfig:/app/.flowconfig
- ./flow-typed:/app/flow-typed
- ./node_modules:/app/node_modules
depends_on:
- db
- rabbitmq
app-prices-stats-backend:
build: ./apps/prices-stats/backend
ports:
- 3000:3000
volumes:
- ./apps/prices-stats/backend:/app/apps/prices-stats/backend
- ./Contexts:/app/Contexts
- ./package.json:/app/package.json
- ./yarn.lock:/app/yarn.lock
- ./.flowconfig:/app/.flowconfig
- ./flow-typed:/app/flow-typed
- ./node_modules:/app/node_modules
depends_on:
- db
- rabbitmq
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: example
POSTGRES_USER: root
POSTGRES_DB: prices_stats
volumes:
- ./data/dump.sql:/docker-entrypoint-initdb.d/dump.sql
ports:
- 5432:5432
rabbitmq:
image: 'rabbitmq:3.8-management'
ports:
- 5672:5672
- 15672:15672