diff --git a/.gitignore b/.gitignore index 6ef9028..7da3856 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,10 @@ letsencrypt/acme.json nohup.out .idea/ +scripts/repos/ +# data is the folder where the perses database is stored +data/ + # Created by https://www.toptal.com/developers/gitignore/api/hugo,node,visualstudiocode,macos,linux,windows # Edit at https://www.toptal.com/developers/gitignore?templates=hugo,node,visualstudiocode,macos,linux,windows diff --git a/docker-compose.yaml b/docker-compose.yaml index ae23ee7..ecf164f 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -22,10 +22,7 @@ services: command: "--config=/etc/perses/config/secret.yaml" environment: PERSES_DATABASE_FILE_EXTENSION: "json" - PERSES_SCHEMAS_PANELS_PATH: "/etc/perses/cue/schemas/panels" - PERSES_SCHEMAS_QUERIES_PATH: "/etc/perses/cue/schemas/queries" - PERSES_SCHEMAS_DATASOURCES_PATH: "/etc/perses/cue/schemas/datasources" - PERSES_SCHEMAS_VARIABLES_PATH: "/etc/perses/cue/schemas/variables" + PERSES_DATABASE_FILE_FOLDER: "/perses" PERSES_SECURITY_ENABLE_AUTH: true PERSES_SECURITY_AUTHORIZATION_GUEST_PERMISSIONS_0_ACTIONS_0: "read" PERSES_SECURITY_AUTHORIZATION_GUEST_PERMISSIONS_0_SCOPES_0: "*" @@ -44,6 +41,7 @@ services: volumes: - ./provisioning:/etc/perses/provisioning - ./secret:/etc/perses/config + - ./data:/perses restart: unless-stopped labels: - "traefik.enable=true"