From d8fb98ab3e5abb7800c50e07d1a37bffe70b75ac Mon Sep 17 00:00:00 2001 From: traveler Date: Sat, 3 May 2025 10:10:17 -0500 Subject: [PATCH] ds --- dumbterm.yaml | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 dumbterm.yaml diff --git a/dumbterm.yaml b/dumbterm.yaml new file mode 100644 index 0000000..cf9a6e4 --- /dev/null +++ b/dumbterm.yaml @@ -0,0 +1,67 @@ +services: + dumbterm: + container_name: dumbterm + image: glanceapp/glance + ports: + - 8066:3000 + networks: + - netgrimoire + user: "1001:998" + environment: + # Container timezone + TZ: America/Chicago + # The title shown in the web interface + SITE_TITLE: https://cli.netgrimoire.com + # Optional PIN protection (leave empty to disable) + DUMBTERM_PIN: 2810 + # The base URL for the application + BASE_URL: http://localhost:3000 # Use ALLOWED_ORIGINS below to restrict cors to specific origins + ENABLE_STARSHIP: true # Enable starship prompt + LOCKOUT_TIME: 15 # Minutes + MAX_SESSION_AGE: 24 # Hours + logging: + driver: "gelf" + options: + gelf-address: "udp://192.168.5.17:12201" + tag: "dumbterm" + + deploy: + labels: + - homepage.group=Application + - homepage.name=Glance + - homepage.icon=glance.png + - homepage.href=http://home.netgrimoire.com + - homepage.description=Home Portal + - kuma.glance.http.name="glance" + - kuma.glance.http.url=http://glance:9000 + - caddy=home.netgrimoire.com + - caddy.import=authentik + - caddy.reverse_proxy="{{upstreams 8080}}" + + volumes: + - /data/nfs/Baxter/Docker/dumbterm/config:/root/.config + - /data/nfs/Baxter/Docker/dumbterm/:/root/data + + + +networks: + netgrimoire: + external: true + + # Map the data directory to a local folder + environment: + # Container timezone + TZ: America/Chicago + # The title shown in the web interface + SITE_TITLE: https://cli.netgrimoire.com + # Optional PIN protection (leave empty to disable) + DUMBTERM_PIN: 2810 + # The base URL for the application + BASE_URL: http://localhost:3000 # Use ALLOWED_ORIGINS below to restrict cors to specific origins + ENABLE_STARSHIP: true # Enable starship prompt + LOCKOUT_TIME: 15 # Minutes + MAX_SESSION_AGE: 24 # Hours + + # (OPTIONAL) + # Usage: Comma-separated list of urls: http://localhost:port,http://internalip:port,https://base.proxy.tld,https://authprovider.domain.tld + # ALLOWED_ORIGINS: ${DUMBTERM_ALLOWED_ORIGINS:-http://localhost:3000} # Comment out to allow all origins (*) \ No newline at end of file