Add jotty.yaml
This commit is contained in:
+53
@@ -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=<YOUR_SSO_ISSUER>
|
||||||
|
#- OIDC_CLIENT_ID=<YOUR_SSO_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
|
||||||
Reference in New Issue
Block a user