Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '2'
version: '2.1'

services:
taiga:
Expand All @@ -7,7 +7,8 @@ services:
- 80:80
# - 443:443 # To enable SSL, uncomment this line. See "Enable SSL" below.
depends_on:
- postgres
postgres:
condition: service_healthy

# To enable taiga-events, uncomment the following lines:
# - events
Expand Down Expand Up @@ -49,7 +50,11 @@ services:
volumes:
# Postgres data directory. This ensures the database is not lost.
- ./pgdata:/var/lib/postgresql/data

healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5

# To enable taiga-events, uncomment the following lines:
# rabbit:
Expand Down