Update docker-compose.yaml
Some checks failed
Updates/Joplin/pipeline/head There was a failure building this commit

This commit is contained in:
Adam Outler 2025-03-30 16:45:33 +00:00
parent f688609e74
commit 2fed35db91

View File

@ -7,7 +7,7 @@ services:
restart: always
environment:
- APP_PORT=8030
- APP_BASE_URL=https://joplin.adamoutler.com
- APP_BASE_URL=https://server.joplin.adamoutler.com
- DB_CLIENT=sqlite3
- DB_FILE=/var/lib/joplin/database.sqlite
ports:
@ -16,7 +16,25 @@ services:
- data:/var/lib/joplin
networks:
- joplin_network
joplin-vieweb:
image: gri38/joplin-vieweb:latest # Check Docker Hub for the image name/tags
ports:
- "8088:8088" # Or your preferred host port
environment:
# *** Points to your Joplin Server instance ***
- JOPLIN_URL=https://server.joplin adamoutler.com # Use service name if on same Docker network
# Or use http://your_server_ip_or_domain:22300 if accessing externally/differently
# Optional: Set login credentials if your server requires it
# (Check joplin-vieweb docs for exact env var names if needed)
# - JOPLIN_USERNAME=your_joplin_user_email
# - JOPLIN_PASSWORD=your_joplin_user_password
# Optional: Set vieweb specific port if needed inside container (usually defaults ok)
# - PORT=8088
# Optional: Require login to vieweb itself (check docs for JOPLIN_LOGIN_REQUIRED or similar)
# - JOPLIN_LOGIN_REQUIRED=true # or false/unset
volumes:
data: