Skip to content

Commit

Permalink
Add docker-compose.yml with config for DBs
Browse files Browse the repository at this point in the history
  • Loading branch information
lancedikson committed Mar 29, 2019
1 parent 9633d3d commit 5b8230e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ Gemfile*.lock
.ruby-version
test/globalize_test.log
gemfiles/*.lock
tmp/
22 changes: 22 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: '3.7'
services:
postgres:
image: postgres:11
volumes:
- ./tmp/postgres:/var/lib/postgresql/data
ports:
- "5432:5432"
environment:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: ""
mysql:
image: mysql:8.0
volumes:
- ./tmp/mysql:/var/lib/mysql
ports:
- "3306:3306"
environment:
MYSQL_USER: "root"
MYSQL_PASSWORD: ""
MYSQL_ROOT_PASSWORD: ""
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"

0 comments on commit 5b8230e

Please sign in to comment.