This repository has been archived by the owner on Aug 17, 2021. It is now read-only.
forked from benhutchins/docker-taiga
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (50 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
version: '2'
services:
taiga:
build: .
ports:
- 80:80
# - 443:443 # To enable SSL, uncomment this line
depends_on:
- postgres
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: localhost
# 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_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:
image: postgres
environment:
POSTGRES_DB: taigadb
POSTGRES_PASSWORD: password
POSTGRES_USER: postgres
ports:
- 5432
volumes:
# this helps prevent your postgres data from deleted
- ./pgdata:/var/lib/postgresql/data