-
-
Notifications
You must be signed in to change notification settings - Fork 79
Installation
This guide will walk you through installing jotty·page using Docker (recommended) or running it locally for development.
- Docker and Docker Compose installed
- Basic command line knowledge
- Port 1122 available (or choose another port)
Create a new directory for your jotty·page installation and create a docker-compose.yml file:
services:
jotty:
image: ghcr.io/fccview/jotty:latest
container_name: jotty
user: "1000:1000"
ports:
- "1122:3000"
volumes:
- ./data:/app/data:rw
- ./config:/app/config:ro
- ./cache:/app/.next/cache:rw
restart: unless-stopped
environment:
- NODE_ENV=productionmkdir -p data/users data/checklists data/notes data/sharing cache config
sudo chown -R 1000:1000 data/
sudo chown -R 1000:1000 cache/
sudo chown -R 755 config/Note: The cache directory is optional. If you don't want cache persistence, you can comment out the cache volume line in your docker-compose.yml.
docker-compose up -dOpen your web browser and navigate to:
http://localhost:1122
You'll be redirected to the setup page to create your first admin account.
If you're using Podman or rootless Docker, add this line to your docker-compose.yml:
services:
jotty:
# ... other settings ...
userns_mode: keep-idThis preserves the user namespace when mounting volumes, preventing permission issues.
Uncomment the platform line in your docker-compose.yml:
services:
jotty:
# ... other settings ...
platform: linux/arm64For development purposes, you can run jotty·page directly with Node.js.
- Node.js 18 or higher
- Yarn package manager
-
Clone the Repository
git clone https://github.com/fccview/jotty.git cd jotty -
Install Dependencies
yarn install
-
Run Development Server
yarn dev
-
Access the Application
http://localhost:3000
Pull the latest image and restart:
docker-compose pull
docker-compose up -dgit pull
yarn install
yarn build
yarn startTo change the default port (1122), modify the ports section in docker-compose.yml:
ports:
- "YOUR_PORT:3000" # Change YOUR_PORT to your preferred portAll your data is stored in the ./data directory:
-
data/checklists/- Your checklists -
data/notes/- Your notes -
data/users/- User data and sessions -
data/sharing/- Sharing information -
data/settings.json- Application settings
Important: Always backup the data/ directory regularly!
- Initial Setup - Create your first admin account