To start the GeoAI infrastructure, docker compose is used.
There are two 'modes' to run it: Either in development mode or for deployment on a server
To start it in development mode, run:
docker compose -f docker-compose.yml -f docker-compose.dev.yml upFor deployment use:
export POSTGRES_PASSWORD="mypassword"; docker compose -f docker-compose.yml -f docker-compose.prod.yml upPostgreSQL is provided with the following extensions loaded:
postgish3h3_postgisvector
The environment variables
POSTGRES_USER
POSTGRES_PASSWORD
POSTGRES_DB
should be set (otherwise they all default to geoai).
pgAdmin is provided as lightweight PostgreSQL admin tool. In dev mode, pgadmin is available on host port 8080, container port 80 otherwise.
Admin credentials for pgadmin are configured via the env variables
PGADMIN_EMAIL (default: admin@admin.com)
PGADMIN_PASSWORD (default: admin)