From 3d2e9f644dfc09180891dbbfddb3dfdf952f159a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9lian=20GARCIA?= Date: Mon, 22 Jan 2024 13:29:27 +0100 Subject: [PATCH] Deploy v0.43.0 (#21) Signed-off-by: Celian GARCIA --- .gitignore | 6 +++++- docker-compose.yaml | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 58c9198..6ef9028 100644 --- a/.gitignore +++ b/.gitignore @@ -271,4 +271,8 @@ $RECYCLE.BIN/ /website/content/docs/perses/_index.md /website/content/docs/prologue/_index.md /website/static/images -/website/resources/_gen \ No newline at end of file +/website/resources/_gen + +# Docker compose config secret (ask maintainers) +secret + diff --git a/docker-compose.yaml b/docker-compose.yaml index b6b35d6..2a54467 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -16,9 +16,10 @@ services: - "traefik.http.routers.website.tls.certresolver=myresolver" demo: - image: "docker.io/persesdev/perses:main-2023-12-19-6a7acd38-distroless" + image: "docker.io/persesdev/perses:v0.43.0-distroless" ports: - "5000:8080" + command: "--config=/etc/perses/config/secret.yaml" environment: PERSES_DATABASE_FILE_EXTENSION: "json" PERSES_SECURITY_ENABLE_AUTH: true @@ -26,6 +27,7 @@ services: PERSES_SECURITY_AUTHORIZATION_GUEST_PERMISSIONS_0_SCOPES_0: "*" PERSES_SECURITY_AUTHORIZATION_GUEST_PERMISSIONS_1_ACTIONS_0: "create" PERSES_SECURITY_AUTHORIZATION_GUEST_PERMISSIONS_1_SCOPES_0: "Project" + PERSES_SECURITY_AUTHENTICATION_PROVIDERS_ENABLE_NATIVE: true PERSES_PROVISIONING_FOLDERS_0: "/etc/perses/provisioning" PERSES_IMPORTANT_DASHBOARDS_0_PROJECT: "perses" PERSES_IMPORTANT_DASHBOARDS_0_DASHBOARD: "NodeExporterFull" @@ -37,6 +39,7 @@ services: dashboards, or create your own ones! volumes: - ./provisioning:/etc/perses/provisioning + - ./secret:/etc/perses/config restart: unless-stopped labels: - "traefik.enable=true"