-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Rukaya edited this page Mar 9, 2023
·
9 revisions
- a Raspberry Pi raspberrypi.local used for running an IPT for GBIF IPT training in remote areas with limited internet access. This is not functional at the moment.
- Managed postgres database from UiO dbpg-gbif-prod.uio.no (credentials in lastpass)
- github pages - Some github repos are client side only, so they are just hosted using github pages. Push to the master branch to make changes.
-
gbif.uio.no* - VM running CentOS
- Uses nginx-proxy as a reverse proxy for all podman/docker containers
- Requires docker network (
sudo docker network create nginx-proxy
), must be included in all docker container docker-compose.yml files - Whenever a new Docker container is added to this network, nginx-proxy sees the event through the socket, automatically creates the configuration file needed to route traffic, and restarts nginx to make the changes available immediately. The nginx-proxy looks for docker containers with the VIRTUAL_HOST variable enabled. In that variable you specify the destination, like blog.example.com or app.example.com. The proxy will see that person A has requested blog.example.com and will route/proxy their request to the correct container.
- Requires docker network (
- Uses letsencrypt-nginx-proxy-companion(https://github.com/gbif-norway/nginx-proxy) for HTTPS
- View docker containers (located in /media/docker-www) with
docker container ls
and the samedocker image ls
for images. - Runs the resolver service and the annotater api
- Uses nginx-proxy as a reverse proxy for all podman/docker containers
- Kubernetes cluster in Digital Ocean for running most applications, including multiple instances of the IPT
- Sigma2 NIRD storage - minio bucket https://storage.gbif-no.sigma2.no/minio/
- Stores IPT images, IPT data directory backups and some other ad hoc things
- This is the main image storage system. For thumbnails, caching and image manipulation, we have an account with imagekit cdn (see LastPass). So now we can construct URLs like e.g. https://ik.imagekit.io/gbifnorway/tj/Khatlon/5d8a2240-bb23-4b46-aab7-7ac9ac4f9750.jpg?tr=w-800,h-400,fo-bottom
See https://www.gbif.no/services/ for public list.
All IPT services are built using https://github.com/gbif-norway/ipt-s3 and are hosted using https://github.com/gbif-norway/infrastructure/tree/main/helm/ipt-s3 this helm chart. In order to upgrade, change the version number of the base image in the Dockerfile on https://github.com/gbif-norway/ipt-s3, rebuild the image, push to dockerhub, and apply the helm chart again. More instructions are in the README.mds in each repo.