Help w/ Docker (Joplin Server)

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.

  1. Navigate to the folder /share/Container.

  2. Create a new folder named joplin.

  3. Inside that folder, create another one called database.


Step 2: Configure Joplin Server in Container Station

  1. Open Container Station on your NAS.

  2. Go to Applications and click Create.

  3. Give the application a name, such as joplin-server.

  4. 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 YourStrongPassword123 in both sections to a password of your choice.


Step 3: Installation and First Login

  1. Click Validate and then Create. Container Station will download the images and start the server.

  2. Once the containers are running, open your Brave browser and go to: http://192.168.0.160:22300.

  3. Log in using the default credentials:

    • Username: admin@localhost

    • Password: admin

  4. 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.