Skip to content

Commit

Permalink
update demo and remove sandbox instance
Browse files Browse the repository at this point in the history
Signed-off-by: Augustin Husson <[email protected]>
  • Loading branch information
Nexucis committed Dec 8, 2023
1 parent dc12154 commit 833f420
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 29 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
letsencrypt/acme.json
nohup.out
nohup.out

.idea/
34 changes: 6 additions & 28 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
version: '3.9'
services:
demo:
image: "docker.io/persesdev/perses:v0.40.1"
image: "docker.io/persesdev/perses:v0.42.1"
ports:
- "5000:8080"
environment:
PERSES_DATABASE_FILE_EXTENSION: "json"
PERSES_READONLY: true
PERSES_SECURITY_ENABLE_AUTH: true
PERSES_SECURITY_AUTHORIZATION_GUEST_PERMISSIONS_0_ACTIONS_0: "read"
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_IMPORTANT_DASHBOARDS_0_PROJECT: "perses"
PERSES_IMPORTANT_DASHBOARDS_0_DASHBOARD: "NodeExporterFull"
PERSES_INFORMATION: |-
# Welcome to the Demo instance of Perses!
This public demo instance is here to give you of what Perses looks like,
with some example dashboards & more.
This instance is readonly. If you wish to play with the edit mode,
go to the [Sandbox instance](https://sandbox.perses.dev/) instead.
volumes:
- ./local_db:/perses
restart: unless-stopped
Expand All @@ -26,29 +27,6 @@ services:
- "traefik.http.routers.demo.rule=Host(`demo.perses.dev`)"
- "traefik.http.routers.demo.tls.certresolver=myresolver"

sandbox:
image: "docker.io/persesdev/perses:v0.40.1"
ports:
- "5001:8080"
environment:
PERSES_DATABASE_FILE_EXTENSION: "json"
PERSES_READONLY: false
PERSES_INFORMATION: |-
# Welcome to the Sandbox instance of Perses!
This public sandbox instance is here to let you play with Perses.
Create your own projects, dashboards & more!
If you just want to have a showcase of what's possible to create
in Perses, please go to the [Demo instance](https://demo.perses.dev/)
instead.
restart: unless-stopped
labels:
- "traefik.enable=true"
# The domain the service will respond to
- "traefik.http.routers.sandbox.rule=Host(`sandbox.perses.dev`)"
- "traefik.http.routers.sandbox.tls.certresolver=myresolver"

traefik:
image: "docker.io/traefik:v2.9.10"
command:
Expand Down

0 comments on commit 833f420

Please sign in to comment.