App for fetching and uploading images to cloud bucket storage. Should also be a on-the-fly image formatting proxy.
From source:
git clone https://github.com/kevinmidboe/planetposen-images
cp .env.example .env
- Update variables in
.env
file make install
Run api from command line with:
make server
Run as docker container using:
(sudo) docker run -d --name planetposen-images -p 8000:8000 \
-e PORT=8000
-e HOSTNAME=planet.schleppe.cloud
-e GCS_BUCKET=planetposen-images
or
(sudo) docker run -d --name planetposen-images -p 8000:8000 --env-file .env planetposen-images