services: dumbpad: image: dumbwareio/dumbpad:latest container_name: dumbpad restart: unless-stopped ports: - ${DUMBPAD_PORT:-3000}:3000 volumes: - ${DUMBPAD_DATA_PATH:-./data}:/app/data environment: # The title shown in the web interface SITE_TITLE: ${DUMBPAD_SITE_TITLE:-DumbPad} # Optional PIN protection (leave empty to disable) DUMBPAD_PIN: ${DUMBPAD_PIN:-} # The base URL for the application BASE_URL: ${DUMBPAD_BASE_URL:-notes.bapasqui.com} # Use ALLOWED_ORIGINS below to restrict cors to specific origins # (OPTIONAL) # Usage: Comma-separated list of urls: http://localhost:port,http://internalip:port,https://base.proxy.tld,https://authprovider.domain.tld # ALLOWED_ORIGINS: ${DUMBPAD_ALLOWED_ORIGINS:-http://localhost:3000} # Comment out to allow all origins (*) # LOCKOUT_TIME: ${DUMBPAD_LOCK_TIME:-15} # Customize pin lockout time (if empty, defaults to 15 in minutes) MAX_ATTEMPTS: ${DUMBPAD_MAX_ATTEMPTS:-3} # Customize pin max attempts (if empty, defaults to 5) COOKIE_MAX_AGE: ${DUMBPAD_COOKIE_MAX_AGE:-24} # Customize maximum age of cookies primarily used for pin verification (default 24) in hours # PAGE_HISTORY_COOKIE_AGE: ${DUMBPAD_PAGE_HISTORY_COOKIE_AGE:-365} # Customize age of cookie to show the last notepad opened (default 365 | max 400) in days - shows default notepad on load if expired # MARKDOWN CODE SYNTAX HIGHLIGHTING (only use below if you want to restrict to specific languages): # By default, DumbPad includes support for all ~180 languages supported by highlight.js. # view entire list and usage in /docs/MARKDOWN_SYNTAX_HIGHLIGHTING_USAGE.md # HIGHLIGHT_LANGUAGES=c,csharp,css,dockerfile,go,html,java,javascript,json,kotlin,markdown,perl,php,python,ruby,sql,swift,typescript,xml,yaml