Added Trilium Notes and HedgeDoc to the stack, updated diagnose-dev.sh
This commit is contained in:
@@ -67,6 +67,32 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- fold-network
|
- fold-network
|
||||||
|
|
||||||
|
trilium:
|
||||||
|
image: zadam/trilium:latest
|
||||||
|
container_name: trilium_dev
|
||||||
|
ports:
|
||||||
|
- "8080:8080"
|
||||||
|
volumes:
|
||||||
|
- ./volumes/trilium:/home/node/trilium-data
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- fold-network
|
||||||
|
|
||||||
|
hedgedoc:
|
||||||
|
image: quay.io/hedgedoc/hedgedoc:1.9.9
|
||||||
|
container_name: hedgedoc_dev
|
||||||
|
ports:
|
||||||
|
- "3030:3000"
|
||||||
|
volumes:
|
||||||
|
- ./volumes/hedgedoc/uploads:/hedgedoc/public/uploads
|
||||||
|
environment:
|
||||||
|
- CMD_DOMAIN=localhost:3030
|
||||||
|
- CMD_PROTOCOL_USESSL=false
|
||||||
|
- CMD_DB_URL=sqlite:/hedgedoc/public/uploads/hedgedoc.db
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- fold-network
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
fold-network:
|
fold-network:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|||||||
+23
-7
@@ -30,14 +30,24 @@ echo "🪵 Ghost Logs (last 20 lines):"
|
|||||||
docker logs ghost_dev --tail=20 || echo "⚠️ Ghost container not found."
|
docker logs ghost_dev --tail=20 || echo "⚠️ Ghost container not found."
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "🪵 Nginx Logs (last 20 lines):"
|
echo "🪵 Trilium Logs (last 20 lines):"
|
||||||
docker logs nginx_dev --tail=20 || echo "⚠️ Nginx container not found."
|
docker logs trilium_dev --tail=20 || echo "⚠️ Trilium container not found."
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "🪵 HedgeDoc Logs (last 20 lines):"
|
||||||
|
docker logs hedgedoc_dev --tail=20 || echo "⚠️ HedgeDoc container not found."
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "🪵 MailHog Logs (last 20 lines):"
|
||||||
|
docker logs mailhog_dev --tail=20 || echo "⚠️ MailHog container not found."
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "🌐 Port Bindings:"
|
echo "🌐 Port Bindings:"
|
||||||
docker compose -f docker-compose.dev.yml port ghost 2368 || echo "❌ Ghost not exposing port 2368"
|
docker compose -f docker-compose.dev.yml port ghost 2368 || echo "❌ Ghost not exposing port 2368"
|
||||||
docker compose -f docker-compose.dev.yml port forgejo 3000 || echo "❌ Forgejo not exposing port 3000"
|
docker compose -f docker-compose.dev.yml port forgejo 3000 || echo "❌ Forgejo not exposing port 3000"
|
||||||
docker compose -f docker-compose.dev.yml port nginx 80 || echo "❌ Nginx not exposing port 80"
|
docker compose -f docker-compose.dev.yml port trilium 8080 || echo "❌ Trilium not exposing port 8080"
|
||||||
|
docker compose -f docker-compose.dev.yml port hedgedoc 3000 || echo "❌ HedgeDoc not exposing port 3000"
|
||||||
|
docker compose -f docker-compose.dev.yml port mailhog 8025 || echo "❌ MailHog not exposing port 8025"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "🔒 Forgejo Volume Permissions:"
|
echo "🔒 Forgejo Volume Permissions:"
|
||||||
@@ -45,12 +55,18 @@ ls -ld ./volumes/forgejo || echo "❌ Missing volumes/forgejo"
|
|||||||
ls -la ./volumes/forgejo || echo "⚠️ Contents not accessible"
|
ls -la ./volumes/forgejo || echo "⚠️ Contents not accessible"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "🧠 Entrypoint Script Check (forgejo-entrypoint.sh):"
|
echo "🔒 Trilium Volume Permissions:"
|
||||||
head -n 10 scripts/forgejo-entrypoint.sh || echo "⚠️ Missing entrypoint script"
|
ls -ld ./volumes/trilium || echo "❌ Missing volumes/trilium"
|
||||||
|
ls -la ./volumes/trilium || echo "⚠️ Contents not accessible"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "📜 Nginx Default Configuration (first 20 lines):"
|
echo "🔒 HedgeDoc Volume Permissions:"
|
||||||
head -n 20 nginx/dev/default.conf || echo "⚠️ Missing default.conf"
|
ls -ld ./volumes/hedgedoc/uploads || echo "❌ Missing volumes/hedgedoc/uploads"
|
||||||
|
ls -la ./volumes/hedgedoc/uploads || echo "⚠️ Contents not accessible"
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "🧠 Entrypoint Script Check (forgejo-entrypoint.sh):"
|
||||||
|
head -n 10 scripts/forgejo-entrypoint.sh || echo "⚠️ Missing entrypoint script"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "📜 Environment Variables (.env.dev):"
|
echo "📜 Environment Variables (.env.dev):"
|
||||||
|
|||||||
Reference in New Issue
Block a user