Skip to content

Commit

Permalink
Switch docker-compose.yml to pgsql
Browse files Browse the repository at this point in the history
  • Loading branch information
djdefi committed Aug 28, 2015
1 parent ad493f3 commit 32ffad8
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 32ffad8

Please sign in to comment.