Install docker-compose for running development container
$ sudo apt install docker-compose
Change to subdirectory docker to execute local Docker based environment containing PostgreSql database (Port 22222), Hymir IIIF server (Port 23232) and Euphoria Streaming server (Port 24242).
$ cd docker
$ docker-compose up -d
Creating cudami_media_1 ... done
Creating cudami_database_1 ... done
Creating cudami_iiif_1 ... done
$
Copy the dump SQL, e.g. postgresql-dump-cudami-210906-0112 into cudami/docker, then
append the following lines into the database section in docker-compose.yml:
volumes:
- ./postgresql-dump-cudami-210525-0112:/docker-entrypoint-initdb.d/dump.sqlNow run the following commands within cudami/docker:
docker-compose down
docker-compose upIf the docker container is running, terminate it with ^C and delete the volumes configuration
from above from docker-compose.yml. Afterwards, start the container as usual with docker-compose up -d.