blackerby / school-on-rails

1 stars 0 forks source link

Persist production database in Docker #9

Closed blackerby closed 1 year ago

blackerby commented 1 year ago

@wbelser let's play with this this coming week. Based on this, looks like when we pull and restart the image at school we should run: docker volume create school-db then something like docker run -dp 3000:3000 -v school-db:/etc/school school any time we start the app, with appropriate changes made to the flags and port stuff.