Newer
Older
Eliot Berriot
committed
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
56
57
58
59
60
61
62
63
version: '2'
services:
front:
build:
dockerfile: docker/Dockerfile.dev
context: ./front
env_file: .env.dev
environment:
- "HOST=0.0.0.0"
ports:
- "8080:8080"
volumes:
- './front:/app'
- /app/node_modules
postgres:
env_file: .env.dev
image: postgres
redis:
env_file: .env.dev
image: redis:3.0
celeryworker:
env_file: .env.dev
build:
context: ./api
dockerfile: docker/Dockerfile.local
links:
- postgres
- redis
command: python manage.py celery worker
environment:
- C_FORCE_ROOT=true
volumes:
- ./api:/app
api:
env_file: .env.dev
build:
context: ./api
dockerfile: docker/Dockerfile.local
command: python /app/manage.py runserver 0.0.0.0:12081
volumes:
- ./api:/app
ports:
- "12081"
links:
- postgres
- redis
- celeryworker
nginx:
env_file: .env.dev
build: ./api/compose/nginx
links:
- api
volumes:
- ./api/funkwhale_api/media:/staticfiles/media
ports:
- "0.0.0.0:6001:80"