bbad983a6e
Signed-off-by: Alex Koch <alex@esparklearning.com>
18 lines
386 B
YAML
18 lines
386 B
YAML
services:
|
|
app:
|
|
build: ./app
|
|
ports:
|
|
- "3000:3000"
|
|
depends_on:
|
|
- database
|
|
command: bash -c "bundle exec rails db:migrate && bundle exec rails server -b 0.0.0.0"
|
|
database:
|
|
image: postgres:14
|
|
volumes:
|
|
- postgres:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_PASSWORD: password
|
|
POSTGRES_DB: app_development
|
|
volumes:
|
|
postgres:
|