forked from benhutchins/docker-taiga
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
87 lines (78 loc) · 2.52 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
86
87
version: '2'
services:
taiga:
image: 'neonigma/taiga_openshift'
labels:
kompose.volume.size: 1Gi
build: .
ports:
- 8080:8080
# - 443:443 # To enable SSL, uncomment this line
depends_on:
- postgres-taiga
# uncomment this to use taiga-events
#- rabbit
#- redis
#- celery
#- events
volumes:
# I recommend specifying a volume that maps to taiga's media,
# this way uploaded files are not lost during upgrades of the taiga image
- media:/usr/src/taiga-back/media
# If you'd like to store the configuration outside of the container,
# uncomment this volume. This allows for easy changes to the configuration.
# - ./conf/taiga:/taiga
# - ./ssl.crt:/etc/nginx/ssl/ssl.crt:ro # To enable SSL, uncomment this line
# - ./ssl.key:/etc/nginx/ssl/ssl.key:ro # To enable SSL, uncomment this line
environment:
# Your hostname (REQUIRED)
TAIGA_HOSTNAME: taiga-toolsrs.e4ff.pro-eu-west-1.openshiftapps.com
#TAIGA_HOSTNAME: 35.197.244.100:8080
# Database settings
# To use an external database, simply update these and remove the postgres
# service from this docker-compose.yml file
TAIGA_DB_NAME: taigadb
TAIGA_DB_HOST: postgres-taiga
TAIGA_DB_USER: postgres
TAIGA_DB_PASSWORD: password
TAIGA_SLEEP: 15 # when the db comes up from docker, it is usually too quick
# TAIGA_SSL: True # To enable SSL, uncomment this line
# TAIGA_SSL_BY_REVERSE_PROXY: True # To enable SSL, handling by a reverse proxy, uncomment this
# To use an external SMTP for emails, fill in these values:
# TAIGA_ENABLE_EMAIL: True
# TAIGA_EMAIL_FROM: [email protected]
# TAIGA_EMAIL_USE_TLS: True
# TAIGA_EMAIL_HOST: smtp.google.com
# TAIGA_EMAIL_PORT: 587
# TAIGA_EMAIL_USER: [email protected]
# TAIGA_EMAIL_PASS: super-secure-pass phrase thing!
postgres-taiga:
image: postgres
environment:
POSTGRES_DB: taigadb
POSTGRES_PASSWORD: password
POSTGRES_USER: postgres
PGDATA: /var/lib/postgresql/data/db-files/
ports:
- 5432
labels:
kompose.volume.size: 1Gi
volumes:
- 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