-
Notifications
You must be signed in to change notification settings - Fork 29
/
docker-compose.yml
55 lines (49 loc) · 1.08 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
version: '2.1'
services:
postgres:
extends:
file: ../docker-common.yml
service: postgres
redis:
extends:
file: ../docker-common.yml
service: redis
backend:
extends:
file: ../docker-common.yml
service: backend
build:
context: ../../backend/
dockerfile: docker/Dockerfile
image: rti/smart-backend:R_0_0_1
ports:
- "${EXTERNAL_BACKEND_PORT:-8000}:8000"
depends_on:
- postgres
- redis
smart_frontend:
extends:
file: ../docker-common.yml
service: smart_frontend
build: ../../frontend/
image: rti/smart-frontend:R_0_0_1
command: node_modules/.bin/webpack --watch
celery_worker:
extends:
file: ../docker-common.yml
service: celery_worker
build:
context: ../../backend/
dockerfile: docker/Dockerfile
image: rti/smart-backend:R_0_0_1
depends_on:
- postgres
- redis
- backend
volumes:
smart_pgdata_15_2:
external: true
name: vol_smart_pgdata_15_2
smart_data:
external: true
name: vol_smart_data