-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
55 lines (51 loc) · 1001 Bytes
/
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: "3"
services:
db:
image: postgres:15.3
ports:
- "5432:5432"
env_file:
- docker/dev/docker.env
django:
hostname: django
env_file:
- docker/dev/docker.env
build:
context: ./
dockerfile: docker/dev/django/Dockerfile
ports:
- "8000:8000"
depends_on:
- db
- redis
volumes:
- .:/code
nodejs_v1:
hostname: nodejs_v1
build:
context: ./
dockerfile: docker/dev/nodejs_v1/Dockerfile
environment:
ANGULAR_ENV: development
ports:
- "49153:49153"
- "4200:4200"
volumes:
- ./frontend:/code
- /code/node_modules
redis:
image: redis:7.2-rc3
ports:
- "6379:6379"
celery:
build:
context: ./
dockerfile: docker/dev/celery/Dockerfile
env_file:
- docker/dev/docker.env
volumes:
- .:/code
depends_on:
- db
- redis
- django