added lazylib for some reason

This commit is contained in:
Brodin 2024-08-29 17:59:41 -04:00
parent 0215f55009
commit 2ba39d8994
3 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,7 @@
DOMAIN=example.com
UID=1000
GID=1000
TZ=Etc/UTC
CONFIG_LOCATION=./config
DATA_LOCATION=./data
EMAIL=example@mail.com

View File

@ -0,0 +1,25 @@
services:
lazylibrarian:
image: lscr.io/linuxserver/lazylibrarian:latest
container_name: lazylibrarian
environment:
PUID: 1000
PGID: 1000
TZ: Etc/UTC
DOCKER_MODS: linuxserver/mods:universal-calibre|linuxserver/mods:lazylibrarian-ffmpeg #optional
VIRTUAL_HOST: lazylib.brodin.rocks
LETSENCRYPT_HOST: lazylib.brodin.rocks
LETSENCRYPT_EMAIL: ${EMAIL}
volumes:
- ./config/lazylibrarian:/config
- /media/seedbox:/downloads
- ${DATA_LOCATION}/Downloads:/downloads-local
- ${DATA_LOCATION}/Audiobooks:/audiobooks
- ${DATA_LOCATION}/Books:/books
ports:
- 5299:5299
restart: unless-stopped
networks:
default:
name: nginx-proxy
external: true

39
notes/docker-compose.yml Normal file
View File

@ -0,0 +1,39 @@
services:
db:
image: postgres:15
volumes:
- /docker/joplindb:/var/lib/postgresql/data
ports:
- "5432:5432"
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=joplin
app:
image: joplin/server:latest
depends_on:
- db
ports:
- "22300:22300"
restart: unless-stopped
environment:
- APP_PORT=22300
- APP_BASE_URL=https://websiteurl.com
- DB_CLIENT=pg
- POSTGRES_PASSWORD=postgres
- POSTGRES_DATABASE=joplin
- POSTGRES_USER=postgres
- POSTGRES_PORT=5432
- POSTGRES_HOST=db
- MAILER_ENABLED=1
- MAILER_HOST=smtp.gmail.com
- MAILER_PORT=465
- MAILER_SECURE=1
- MAILER_AUTH_USER=youremail@gmail.com
- MAILER_AUTH_PASSWORD=Y0urP@ssw0rd
- MAILER_NOREPLY_NAME=Joplin
- MAILER_NOREPLY_EMAIL=email@email.com
volumes:
joplindb: