Skip to content
Snippets Groups Projects
Select Git revision
  • 8f8cd5093671fefc8e2be30ef1883f0126fdbf1e
  • master default protected
2 results

CHANGELOG.md

Blame
  • .env.template 1.37 KiB
    # COMPOSE_FILE :
    #   + docker-compose.yml = production service, no port exposed
    #   + docker-compose.yml:dev.yml = production service + devserver, front services ports are exposed
    #   + docker-compose.yml:traefik.yml = production services + traefik mapping (see README)
    COMPOSE_FILE=docker-compose.yml:dev.yml
    #COMPOSE_FILE=docker-compose.yml
    #COMPOSE_FILE=docker-compose.yml:traefik.yml
    # prod server host port
    PORT=8080
    # prod container restart policy
    RESTART=unless-stopped
    # dev server host port
    DEV_PORT=9000
    # dev server container restart policy
    DEV_RESTART=unless-stopped
    # HTTP folder, will be served at http://localhost:$PORT/data
    # use absolute path or relative path starting with ./
    HTTP_FOLDER=./www
    # hosts allowed to access ressources from $HTTP_FOLDER
    # * to allow all, http://localhost:$DEV_PORT to allow only devserver
    CORS_ALLOWED_HOSTS=http://localhost:$DEV_PORT
    # Annotot configuration (annotation storage server
    # ENV = development or production
    ANNOTOT_ENV=development
    ANNOTOT_PORT=3000
    ANNOTOT_LISTEN_IP=0.0.0.0
    # This is the host used by annotot request launched by the client using mirador
    # It should be localhost on dev mode, an something like annotot.yourservice.com in production
    ANNOTOT_HOST=localhost
    # For production only
    ANNOTOT_SECRET_KEY_BASE=insert-a-random-key-here
    # http or https
    ANNOTOT_PROTO=http
    # For traefik (optionnal)
    NAME=IIIF
    HOST=IIIF.tetras-lab.io