forked from donbowman/taiga-container-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
85 lines (76 loc) · 1.92 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: '2.2'
volumes:
postgres_data: {}
postgres_backup: {}
taiga_backend_media: {}
services:
postgresql:
image: postgres:11-alpine
hostname: postgresql
volumes:
- postgres_data:/var/lib/postgresql/data
- postgres_backup:/backups
env_file:
- environment
redis:
image: redis:5-alpine
hostname: rabbitmq
env_file:
- environment
rabbitmq:
image: rabbitmq:3-alpine
hostname: rabbitmq
env_file:
- environment
backend:
build: backend/
hostname: backend
image: ${TAIGA_CONTAINER_REGISTRY}taiga_backend
container_name: taiga_backend
volumes:
- taiga_backend_media:/taiga_backend/media
- /taiga_backend/static-root
env_file:
- environment
user: taiga
entrypoint: ['/scripts/entrypoint.sh']
#command: ['gunicorn', '-b', '0.0.0.0:8000', '--access-logfile','-','--access-logfile','-', 'taiga.wsgi']
command: [ 'python3', 'manage.py', 'runserver', '0:8000' ]
frontend:
build: frontend/
hostname: frontend
image: ${TAIGA_CONTAINER_REGISTRY}taiga_frontend
container_name: taiga_frontend
volumes_from:
- backend:ro
env_file:
- environment
ports:
- "20080:8888"
depends_on:
- postgresql
- backend
- events
celeryworker:
extends: backend
image: ${TAIGA_CONTAINER_REGISTRY}taiga_celeryworker
env_file:
- environment
environment:
- TAIGA_BACKUP_DIR=
container_name: taiga_celeryworker
hostname: celerworker
entrypoint: []
# command: ['celery', '-A', 'taiga', 'worker', '-c', '4', '--loglevel', 'info']
command: ['celery', '-A', 'taiga', 'worker', '-P', 'gevent', '-c', '4', '--loglevel', 'info']
depends_on:
- redis
- rabbitmq
events:
build: events/
hostname: events
image: ${TAIGA_CONTAINER_REGISTRY}taiga_events
env_file:
- environment
depends_on:
- rabbitmq