For https://hub.docker.com/r/joplin/server, my docker-compose.yml (postgres pwd in .env)
```
#
name: joplin
services:
joplin:
container_name: joplin
image: joplin/server:${JOPLIN_VERSION:-latest}
volumes:
- /tank/joplin/:/data/
# JEROEN: pre-existing unix sockets:
- /var/run/postgresql/:/var/run/postgresql/
- /var/run/redis/:/var/run/redis/
env_file:
- .env
ports:
- 22300:22300
restart: always
healthcheck:
disable: false
```