Operating system
Linux
Joplin version
3.7.1
Sync target
Joplin Server
What issue do you have?
Howdy, folks.
I upgraded my NAS from a 10 year-old Qnap (yikes!) to a new UGREEN 4800 Pro. I've installed Docker and prefer to use MySQL (MariaDB) because it's more familiar to me. Yes, I understand that Maria is not officially supported, but I figured it was worth a shot.
It seems everything is up and running, but there are a couple things I could use some guidance on how to clean up my mess.
Warning: I'm a novice (at best!) where 'ix is concerned, and this is my first experience with Docker, so my comprehension of folder structure, containers, compose files and 'ix in general is weak. Please be kind. ![]()
-
I do not see the Joplin DB in phpMyAdmin. I suspect that's because I installed one version of Maria (11.8) and Joplin is looking for 11 as I followed old instructions from a 3rd party source (see compose file and screen shots below)
-
I'm having trouble synchronizing the Joplin app (android) to my server on my local network. I activated https:// using the UGREEN-provided SSL cert, but in the long term I'm guessing that will have to change. I'm not entirely comfortable with someone else's cert.
A diagnosis and a few pointers would be greatly appreciated!
Compose file:
version: "3.8"
services:
mariadb:
image: mariadb:11
container_name: joplin-db
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: xxxx
MYSQL_DATABASE: joplin
MYSQL_USER: joplin
MYSQL_PASSWORD: xxxx
TZ: America/New_York
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
volumes: - /volume1/docker/joplin/db:/var/lib/mysql
joplin:
image: joplin/server:latest
container_name: joplin-server
restart: unless-stopped
depends_on:
- mariadb
ports: - "22300:22300"
environment:
APP_PORT: 22300
APP_BASE_URL: http://192.168.1.100:22300
DB_CLIENT: mysql
POSTGRES_PASSWORD: xxxx
MYSQL_DATABASE: xxxx
MYSQL_USER: xxxx
MYSQL_PASSWORD: xxxx
MYSQL_PORT: 3306
MYSQL_HOST: mariadb
TZ: America/New_York
volumes: {}

