-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (46 loc) · 1.04 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'
services:
rabbitmq:
hostname: rabbitmq
image: rabbitmq:management
flower:
image: mher/flower
command: --broker amqp://guest@rabbitmq/ --url-prefix=manage/flower
depends_on:
- celery
init:
image: producer/dev:cv3.3
command: facerec-ctl init dev
volumes:
- ./db:/data/db:rw
- ./project:/facerec/project:rw
- media:/data/media:rw
- cache:/data/cache:rw
- static:/facerec/project/static:rw
- ./requirements.txt:/facerec/requirements.txt
- /home/lebowski/Downloads/:/data/s3:rw
celery:
extends: init
command: facerec-ctl celery
tty: true
uwsgi:
extends: init
environment:
- AUTH0_DOMAIN=
- AUTH0_KEY=
- AUTH0_SECRET=
- AUTH0_REDIRECT_URL=''
command: facerec-ctl uwsgi
expose:
- 8000
nginx:
image: local_nginx:cv3.3
volumes:
- ./docker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
- static:/srv/www/:ro
ports:
- 127.0.0.1:8000:80
volumes:
media: {}
cache: {}
static: {}