This commit is contained in:
traveler 2025-05-03 10:10:17 -05:00
parent 8a9410e0c8
commit d8fb98ab3e

67
dumbterm.yaml Normal file
View file

@ -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 (*)