Skip to content

Instantly share code, notes, and snippets.

View clalimarmo's full-sized avatar

Carlos Lalimarmo clalimarmo

View GitHub Profile
@clalimarmo
clalimarmo / database.yml
Created September 9, 2015 02:33
Rails development environment with Docker (step 2 - postgres)
default: &default
adapter: postgresql
pool: 5
host: db
username: postgres
timeout: 5000
development:
<<: *default
database: expense_tracker_dev
@clalimarmo
clalimarmo / docker-compose.yml
Created September 9, 2015 02:27
Rails development environment with Docker (step 2 - postgres)
web:
build: ./
command: bundle exec rails s -p 3000 -b '0.0.0.0'
volumes:
- .:/app
ports:
- "3000:3000"
links:
- db
db:
@clalimarmo
clalimarmo / docker-compose.yml
Created September 9, 2015 02:08
Rails development environment with Docker (step 1)
web:
build: ./
command: bundle exec rails s -p 3000 -b '0.0.0.0'
volumes:
- .:/app
ports:
- "3000:3000"