Skip to content
Snippets Groups Projects
Verified Commit d3ded9de authored by Loïs Poujade's avatar Loïs Poujade
Browse files

Fixes from review

parent 10f01d6b
No related branches found
No related tags found
1 merge request!3Basic docker stack to build and serve Mirador
# 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
## 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`, set `$PORT` and check the other configuration variables.
Run `docker-compose up -d`, which will serve a mirador instance at `http://localhost:$PORT`. The `$HTTP_FOLDER` 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,5 +6,5 @@ services: ...@@ -6,5 +6,5 @@ services:
ports: ports:
- $PORT:80 - $PORT:80
volumes: volumes:
- ./www:/srv/data - $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