-
Notifications
You must be signed in to change notification settings - Fork 23
/
docker-compose.yml
46 lines (46 loc) · 1.26 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
version: '2.2'
services:
proxy:
build: ./proxy
ports:
- 8080:8080
- 8081:8081
- 8082:8082
restart: on-failure
volumes:
- kci:/usr/share/nginx/html/kernelci/logs
- $PWD/frontend/kernelci-frontend/app/dashboard/static:/usr/share/nginx/html/kernelci/frontend/static
frontend:
build: ./frontend
restart: on-failure
volumes:
- $PWD/frontend/kernelci-frontend/app:/srv/kernelci-frontend/app
- $PWD/frontend/flask_settings:/etc/kernelci/kernelci-frontend.cfg
command: nodemon -V --watch /srv/kernelci-frontend/app -e py,html --exec "/bin/bash -c" /srv/entrypoint.sh
backend:
build: ./backend/
restart: on-failure
environment:
- PYTHONUNBUFFERED=0
volumes:
- $PWD/backend/kernelci-backend/app:/srv/kernelci-backend/app
- kci:/var/www/images/kernel-ci
command: nodemon -V --watch /srv/kernelci-backend/app/server.py --exec "/bin/bash -c" /srv/entrypoint.sh
celery:
build:
context: ./backend/
dockerfile: Dockerfile-celery
restart: on-failure
volumes:
- kci:/var/www/images/kernel-ci
redis:
image: redis:3.2
restart: on-failure
mongo:
image: mongo:4.2
restart: on-failure
volumes:
- data:/data/db
volumes:
data:
kci: