Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Commit

Permalink
Compose: Add restart policy to services (close #12)
Browse files Browse the repository at this point in the history
  • Loading branch information
beevelop committed Feb 28, 2017
1 parent 302c44c commit 5ee3299
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions taiga.yml
Expand Up @@ -5,13 +5,16 @@ data:
- /usr/local/taiga/media
- /usr/local/taiga/static
- /usr/local/taiga/logs

db:
image: postgres
environment:
POSTGRES_USER: taiga
POSTGRES_PASSWORD: password
volumes_from:
- data
restart: always

taigaback:
build: taiga-back
hostname: dev.example.com
Expand All @@ -28,6 +31,8 @@ taigaback:
- db:postgres
volumes_from:
- data
restart: always

taigafront:
build: taiga-front-dist
hostname: dev.example.com
Expand All @@ -37,3 +42,4 @@ taigafront:
- data
ports:
- 0.0.0.0:80:80
restart: always

0 comments on commit 5ee3299

Please sign in to comment.