This repository hosts the source code of the backend.
The easiest way to get started is via docker-compose.
$ make docker
If you're a fan of Podman, set the compose executable accordingly as follows:
$ make DOCKER_COMPOSE=podman-compose docker
The Makefile sets the DB user password to zxcvbnM1.
If you'd like a bit more safety, write your password into the ./container/postgres-passwd.txt
file before running make docker
for the first time.
You can rebuild the images by running
$ make docker-build
The containers expose two ports:
- 9601: PostgreSQL
- 9602: the backend HTTP server
The following volumes are defined:
pb-db
: the PostgreSQL DB filespb-backend-cfg
: backend config filespb-backend-img
: user image files (uploaded via the API)