joplin. draft.

This commit is contained in:
Alexey Eschenko 2022-02-12 04:46:36 +00:00 committed by Alexey Skobkin
parent 18024ee3e2
commit 4046547127
4 changed files with 36 additions and 0 deletions

View File

@ -28,6 +28,7 @@ Not every stack is tested to fully work.
- [x] Duplicati
- [x] Folding@Home
- [x] [Gatus](https://github.com/TwiN/gatus)
- [x] [Joplin](https://hub.docker.com/r/joplin/server) (working, abandoned)
- [ ] Lidarr (didn't test, may not work)
- [x] magnetico-web-telegram
- [x] magneticod

11
joplin/.env.dist Normal file
View File

@ -0,0 +1,11 @@
DB_CLIENT=pg
POSTGRES_PASSWORD=joplin
POSTGRES_DATABASE=joplin
POSTGRES_USER=joplin
POSTGRES_PORT=5432
#POSTGRES_HOST=db
APP_BASE_URL=https://domain.tld
APP_PORT=22300
EXTERNAL_PORT=8030

2
joplin/data/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/*
!/.gitignore

22
joplin/docker-compose.yml Normal file
View File

@ -0,0 +1,22 @@
version: "3.7"
services:
db:
image: postgres:13
volumes:
- ./data/postgres:/var/lib/postgresql/data
expose:
- "5432"
restart: unless-stopped
env_file: .env
app:
image: joplin/server:latest
depends_on:
- db
ports:
- "127.0.0.1:${EXTERNAL_PORT:-8030}:22300"
env_file: .env
environment:
- POSTGRES_HOST=${POSTGRES_HOST:-db}
restart: unless-stopped
user: '${HOST_USER:-0}'