-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.apps.yml
More file actions
52 lines (50 loc) · 1.01 KB
/
docker-compose.apps.yml
File metadata and controls
52 lines (50 loc) · 1.01 KB
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
services:
web:
build:
context: .
dockerfile: Dockerfile
mem_limit: 1gb
cpus: 2
command: ./scripts/run-django-dev.sh
stdin_open: true
tty: true
ports:
- "8001:8001"
- "8888:8888"
depends_on:
db:
condition: service_healthy
redis:
condition: service_healthy
volumes:
- .:/src
- django_media:/var/media
celery:
build:
context: .
dockerfile: Dockerfile
command: >
/bin/bash -c '
sleep 3;
celery -A main.celery:app worker -E -Q default,edx_content -B -l ${MITOL_LOG_LEVEL:-INFO}'
depends_on:
db:
condition: service_healthy
redis:
condition: service_healthy
volumes:
- .:/src
- django_media:/var/media
watch:
working_dir: /src
image: node:22.22
entrypoint: ["/bin/sh", "-c"]
command:
- |
yarn install
yarn start
ports:
- "8003:8003"
- "8004:8004"
volumes:
- ./frontend-demo:/src