Skip to content
Snippets Groups Projects
Verified Commit 40e845be authored by David Beniamine's avatar David Beniamine
Browse files

Merge branch '2_serves_local_files' of gitlab.tetras-libre.fr:iiif/POC-mirador

parents 53d2f977 d3ded9de
No related branches found
No related tags found
No related merge requests found
# host port # host port
PORT= PORT=8080
# container restart policy # container restart policy
RESTART= RESTART=unless-stopped
# HTTP folder, will be served at http://localhost:$PORT/data
# use absolute path or relative path starting with ./
HTTP_FOLDER=./www
www/
.env .env
node_modules/ node_modules/
dist/ dist/
......
## Mirador Video Annotation POC ## Mirador Video Annotation POC
Run `docker-compose up -d`, which will serve a mirador instance to `http://localhost:8080`. If sources files are modified, run `docker-compose up -d --build` Copy `.env.template` to `.env` and change variables to suit your need (you can skip the edit step)
Run `docker-compose up -d`, which will serve a mirador instance at `http://localhost:$PORT` (default port is 8080).
The `$HTTP_FOLDER` (`./www` by default) directory will be accessible via HTTP at `http://localhost:$PORT/data` and can be used to store manifests and theirs ressources and see them in Mirador.
If sources files are modified, run `docker-compose up -d --build` to update Mirador
...@@ -6,4 +6,5 @@ services: ...@@ -6,4 +6,5 @@ services:
ports: ports:
- $PORT:80 - $PORT:80
volumes: volumes:
- $HTTP_FOLDER:/srv/data
- ./Caddyfile:/etc/caddy/Caddyfile - ./Caddyfile:/etc/caddy/Caddyfile
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment