From 701237da7127e661fe3c0f988205c784d13796db Mon Sep 17 00:00:00 2001 From: pixelthorn Date: Tue, 14 Jul 2026 13:01:45 -0500 Subject: [PATCH] Add jotty.yaml --- jotty.yaml | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 jotty.yaml diff --git a/jotty.yaml b/jotty.yaml new file mode 100644 index 0000000..be4d510 --- /dev/null +++ b/jotty.yaml @@ -0,0 +1,53 @@ +services: + jotty: + image: ghcr.io/fccview/jotty:latest + container_name: jotty + restart: unless-stopped + #user: "1001:1001" + ports: + - "1122:3000" + environment: + - NODE_ENV=production + - HTTPS=true + - APP_URL=${JOTTY_URL} #Required for SSO but optional otherwise - if you have trouble logging in with reverse proxy try setting this up as it will force the application to login using this exact url. + - INTERNAL_API_URL=http://localhost:3000 #Optional. URL used for internal API calls within the container. Defaults to http://localhost:3000 if not set. Only needed if you're experiencing session validation issues behind a reverse proxy. + #- DEBUGGER=true + - PUID=1001 + - PGID=1001 + #- HTTPS=true + #- SERVE_PUBLIC_IMAGES=yes + #- SERVE_PUBLIC_FILES=yes + #- STOP_CHECK_UPDATES=no + #- AUTH_MODE=oidc + #- OIDC_ISSUER= + #- OIDC_CLIENT_ID= + #- OIDC_CLIENT_SECRET=your_client_secret + #- SSO_FALLBACK_LOCAL=yes + #- OIDC_ADMIN_GROUPS=admins + #jotty includes an optional API documentation service that provides interactive documentation for all API endpoints using ReDoc. + #https://github.com/fccview/jotty/blob/main/howto/DOCKER.md + #https://github.com/fccview/jotty/blob/main/howto/ENV-VARIABLES.md + labels: + - homepage.group=Office + - homepage.name=Jotty + - homepage.icon=jotty.png + - homepage.href=${JOTTY_URL} + - homepage.description=To-do list and kanban board + - dockhand.url=${JOTTY_URL} + - rackpeek.tags=office + healthcheck: + test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/api/health', (r) => process.exit(r.statusCode === 200 ? 0 : 1))"] + interval: 30s + timeout: 10s + start_period: 40s + retries: 3 + volumes: + - /srv/docker/office/jottypage/data:/app/data:rw + - /srv/docker/office/jottypage/config:/app/config:rw + - /srv/docker/office/jottypage/cache:/app/.next/cache:rw + networks: + - proxy-net + +networks: + proxy-net: + external: true \ No newline at end of file