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).
### Install
Copy `.env.template` to `.env` and change variables to suit your need.
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.
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
If sources files are modified, run `docker-compose up -d --build` to update Mirador
#### Traefik
We provide a `traefik.yml` file to use behind [traefik](https://traefik.io/https://traefik.io/) this file does the following assumptions :
+ A traefik container exists and is running in an external docker network called `traefik`
+ Traefik has a tls resolver called `myresolver`
+ Traefik has a middleware called `hardening@docker` that adds the usual security headers
#### Use the development server
#### Developpement
Follow the previous instructions if you want to access ressources from `$HTTP_FOLDER` via HTTP in the devserver.
Follow the previous instructions if you want to access ressources from `$HTTP_FOLDER` via HTTP in the devserver.