diff --git a/.env b/.env new file mode 100644 index 0000000000000000000000000000000000000000..1a2eb6b4948638adecc6270f95b89264d4e31ee9 --- /dev/null +++ b/.env @@ -0,0 +1,25 @@ + +COMPOSE_FILE=docker-compose.yml:traefik.yml + +# prod server host port +PORT=8080 +# prod container restart policy +RESTART=always +# 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=./filebrowser_root/www +# hosts allowed to access ressources from $HTTP_FOLDER +# * to allow all, http://localhost:$DEV_PORT to allow only devserver +CORS_ALLOWED_HOSTS=* +# 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 +# For production only +# For traefik (optionnal) +NAME=filebrowseropen +HOST=filebrowser.tetras-libre.fr +HTTPD_NAME=filesopen +HTTPD_HOST=files.tetras-libre.fr