I want to be able to develop the project remotely when I am traveling and Gitpod is just the tool that allows me to do that. However, this project requires dependencies and toolchains that get removed every time a workspace is stopped or deleted (which happens after 14 days of inactivity). I also need to connect it to a Postgres database and my prod database is not available without tunnelling (nor should I be using prod for dev purposes anyways). To automate the setup process and create a postgres database on the fly, I have added a docker and yaml files that do just that. Changes in this PR include:
added gitpod.yml file: This points gitpod env setup at my custom docker file and runs the server on workspace init
added gitpod.Dockerfile: This uses the gitpod dockerfile for postgres setup and installs all the scala dependencies
changed application.cong: Added gitpod to allowed hosts
I want to be able to develop the project remotely when I am traveling and Gitpod is just the tool that allows me to do that. However, this project requires dependencies and toolchains that get removed every time a workspace is stopped or deleted (which happens after 14 days of inactivity). I also need to connect it to a Postgres database and my prod database is not available without tunnelling (nor should I be using prod for dev purposes anyways). To automate the setup process and create a postgres database on the fly, I have added a docker and yaml files that do just that. Changes in this PR include: