forked from benhutchins/docker-taiga-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
70 lines (61 loc) · 1.73 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
version: '2'
services:
taiga:
build: .
ports:
- 80:80
# - 443:443 # To enable SSL, uncomment this line. See "Enable SSL" below.
depends_on:
- postgres
# To enable taiga-events, uncomment the following lines:
# - events
# - rabbit
# - redis
environment:
# Hostname for your instance of Taiga. Required.
TAIGA_HOSTNAME: localhost
# Database variables. Required.
TAIGA_DB_HOST: postgres
TAIGA_DB_NAME: taigadb
TAIGA_DB_USER: taiga
TAIGA_DB_PASSWORD: password
# Enable SSL internally, within the Docker container. Optional.
# This is not great. I suggest using something on top of this
# to enable SSL. See the example example-nginx-ssl.conf file
# for an alternative way to enable SSL.
# TAIGA_SSL: 'True'
# Enable SSL externally, preferred method
# TAIGA_SSL_BY_REVERSE_PROXY: 'True'
volumes:
# Media and uploads directory. Required (or you will lose all uploads)
- ./media:/usr/src/taiga-back/media
# Taiga configuration directory. Makes it easier to change configuration.
- ./taiga-conf:/taiga
postgres:
image: postgres
environment:
POSTGRES_DB: taigadb
POSTGRES_USER: taiga
POSTGRES_PASSWORD: password
ports:
- 5432
volumes:
# Postgres data directory. This ensures the database is not lost.
- ./pgdata:/var/lib/postgresql/data
# To enable taiga-events, uncomment the following lines:
# rabbit:
# image: rabbitmq:3
# hostname: rabbit
#
# redis:
# image: redis:3
#
# celery:
# image: celery
# links:
# - rabbit
#
# events:
# image: benhutchins/taiga-events
# links:
# - rabbit