- Pull all images
docker compose pull database redis- Build the docker image:
docker compose build server
docker compose build server- Copy the example configuration file from
./backend/app/config.example.tomlto./backend/app/config.toml - Edit the configuration file
- The database user will be "postgres"
- The database host will be "database" (as the name of the service in the
docker-compose.yamlfile) - The redis host will be "redis" (as the name of the service in the
docker-compose.yamlfile)
- Start the PostgreSQL and Redis containers
docker compose up -d database redis- Start the docker container through docker compose
docker compose up -d server- Visit website at http://localhost:8080
- Unignore the
docker-compose.override.yamlin the.gitignorefile - Make changes
- Stage the updated
docker-compose.override.yamlfile - Ignore the
docker-compose.override.yamlfile in the.gitignorefile