Gemini zei
To install Joplin Server on your QNAP TS-253D using Container Station V3, we will use a Docker Compose configuration (YAML). Since your setup does not support the version tag, we have excluded it.
Step 1: Create Directories
Use FileZilla to connect to your NAS and create the following directories for database storage. This ensures your data remains intact if the container is updated or restarted.
-
Navigate to the folder
/share/Container. -
Create a new folder named
joplin. -
Inside that folder, create another one called
database.
Step 2: Configure Joplin Server in Container Station
-
Open Container Station on your NAS.
-
Go to Applications and click Create.
-
Give the application a name, such as
joplin-server. -
Paste the following YAML code into the editor. You can use gedit on your laptop to review or modify the code beforehand if you prefer.
YAML
services:
db:
image: postgres:16
volumes:
- /share/Container/joplin/database:/var/lib/postgresql/data
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=YourStrongPassword123
- POSTGRES_USER=joplin
- POSTGRES_DB=joplin
app:
image: joplin/server:latest
depends_on:
- db
ports:
- "22300:22300"
restart: unless-stopped
environment:
- APP_PORT=22300
- APP_BASE_URL=http://192.168.0.160:22300
- DB_CLIENT=pg
- POSTGRES_PASSWORD=YourStrongPassword123
- POSTGRES_DATABASE=joplin
- POSTGRES_USER=joplin
- POSTGRES_PORT=5432
- POSTGRES_HOST=db
Important: Change
YourStrongPassword123in both sections to a password of your choice.
Step 3: Installation and First Login
-
Click Validate and then Create. Container Station will download the images and start the server.
-
Once the containers are running, open your Brave browser and go to:
http://192.168.0.160:22300. -
Log in using the default credentials:
-
Username:
admin@localhost -
Password:
admin
-
-
Critical: Change the admin password immediately in the Joplin web interface settings after logging in.
Please note: This is an AI (Gemini) generated answer on how to setup a Joplin server.
If it does not work, please remove the application.