This is a repository containing test files and setups for the IPSENH school project.
This is not production code and should only be used for testing things. (Going very well so far)
First, you need to clone the repository
git clone [email protected]:journalio/test-rocket-app.git
Then, inside the project, you can bring in the latest images deployed on Github Packages
docker-compose pull
If you're running for the first time, you should first start the database container and run the migrations to initialize the database
docker-compose up -d postgres
diesel migration run
If you've already initialized the database or just did, you can start the environment easily with
docker-compose up -d
This will expose the traefik container on ports 80 and 8080, and you can visit the application on app.test and the api on app.test/api/ The database is also exposed on port 5432 (default postgres port)
You can force the images to build locally using
docker-compose up -d --build