Skip to content

Commit

Permalink
Merge pull request #11 from cachethq/postgres
Browse files Browse the repository at this point in the history
Switch docker-compose.yml to use pgsql
  • Loading branch information
djdefi committed Oct 7, 2015
2 parents cdcfcaa + 32ffad8 commit 8233eb8
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
mysql:
image: mysql:5.6
postgres:
image: postgres:9.4.4
environment:
- MYSQL_ROOT_PASSWORD=cachet
- MYSQL_DATABASE=cachet
- MYSQL_USER=cachet
- MYSQL_PASSWORD=cachet
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
cachet:
build: .
ports:
- 80:8000
links:
- mysql:mysql
- postgres:postgres
environment:
- DB_HOST=mysql
- DB_DATABASE=cachet
- DB_USERNAME=cachet
- DB_PASSWORD=cachet
- DB_DRIVER=pgsql
- DB_HOST=postgres
- DB_DATABASE=postgres
- DB_USERNAME=postgres
- DB_PASSWORD=postgres

0 comments on commit 8233eb8

Please sign in to comment.