mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:01:09 +02:00
🔧 chore(watchtower): try list format for telegram notification URL
Use list format for environment variables as suggested in shoutrrr issue #45 to avoid YAML parsing issues with colon in bot token. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
0b35e71f90
commit
2480d92699
11 changed files with 107 additions and 7 deletions
10
apps/calendar/apps/web/src/routes/health/+server.ts
Normal file
10
apps/calendar/apps/web/src/routes/health/+server.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { json } from '@sveltejs/kit';
|
||||
import type { RequestHandler } from './$types';
|
||||
|
||||
export const GET: RequestHandler = async () => {
|
||||
return json({
|
||||
status: 'ok',
|
||||
service: 'calendar-web',
|
||||
timestamp: new Date().toISOString(),
|
||||
});
|
||||
};
|
||||
10
apps/clock/apps/web/src/routes/health/+server.ts
Normal file
10
apps/clock/apps/web/src/routes/health/+server.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { json } from '@sveltejs/kit';
|
||||
import type { RequestHandler } from './$types';
|
||||
|
||||
export const GET: RequestHandler = async () => {
|
||||
return json({
|
||||
status: 'ok',
|
||||
service: 'clock-web',
|
||||
timestamp: new Date().toISOString(),
|
||||
});
|
||||
};
|
||||
10
apps/contacts/apps/web/src/routes/health/+server.ts
Normal file
10
apps/contacts/apps/web/src/routes/health/+server.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { json } from '@sveltejs/kit';
|
||||
import type { RequestHandler } from './$types';
|
||||
|
||||
export const GET: RequestHandler = async () => {
|
||||
return json({
|
||||
status: 'ok',
|
||||
service: 'contacts-web',
|
||||
timestamp: new Date().toISOString(),
|
||||
});
|
||||
};
|
||||
10
apps/manacore/apps/web/src/routes/health/+server.ts
Normal file
10
apps/manacore/apps/web/src/routes/health/+server.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { json } from '@sveltejs/kit';
|
||||
import type { RequestHandler } from './$types';
|
||||
|
||||
export const GET: RequestHandler = async () => {
|
||||
return json({
|
||||
status: 'ok',
|
||||
service: 'manacore-web',
|
||||
timestamp: new Date().toISOString(),
|
||||
});
|
||||
};
|
||||
10
apps/manadeck/apps/web/src/routes/health/+server.ts
Normal file
10
apps/manadeck/apps/web/src/routes/health/+server.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { json } from '@sveltejs/kit';
|
||||
import type { RequestHandler } from './$types';
|
||||
|
||||
export const GET: RequestHandler = async () => {
|
||||
return json({
|
||||
status: 'ok',
|
||||
service: 'manadeck-web',
|
||||
timestamp: new Date().toISOString(),
|
||||
});
|
||||
};
|
||||
10
apps/nutriphi/apps/web/src/routes/health/+server.ts
Normal file
10
apps/nutriphi/apps/web/src/routes/health/+server.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { json } from '@sveltejs/kit';
|
||||
import type { RequestHandler } from './$types';
|
||||
|
||||
export const GET: RequestHandler = async () => {
|
||||
return json({
|
||||
status: 'ok',
|
||||
service: 'nutriphi-web',
|
||||
timestamp: new Date().toISOString(),
|
||||
});
|
||||
};
|
||||
10
apps/picture/apps/web/src/routes/health/+server.ts
Normal file
10
apps/picture/apps/web/src/routes/health/+server.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { json } from '@sveltejs/kit';
|
||||
import type { RequestHandler } from './$types';
|
||||
|
||||
export const GET: RequestHandler = async () => {
|
||||
return json({
|
||||
status: 'ok',
|
||||
service: 'picture-web',
|
||||
timestamp: new Date().toISOString(),
|
||||
});
|
||||
};
|
||||
10
apps/presi/apps/web/src/routes/health/+server.ts
Normal file
10
apps/presi/apps/web/src/routes/health/+server.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { json } from '@sveltejs/kit';
|
||||
import type { RequestHandler } from './$types';
|
||||
|
||||
export const GET: RequestHandler = async () => {
|
||||
return json({
|
||||
status: 'ok',
|
||||
service: 'presi-web',
|
||||
timestamp: new Date().toISOString(),
|
||||
});
|
||||
};
|
||||
10
apps/storage/apps/web/src/routes/health/+server.ts
Normal file
10
apps/storage/apps/web/src/routes/health/+server.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { json } from '@sveltejs/kit';
|
||||
import type { RequestHandler } from './$types';
|
||||
|
||||
export const GET: RequestHandler = async () => {
|
||||
return json({
|
||||
status: 'ok',
|
||||
service: 'storage-web',
|
||||
timestamp: new Date().toISOString(),
|
||||
});
|
||||
};
|
||||
10
apps/zitare/apps/web/src/routes/health/+server.ts
Normal file
10
apps/zitare/apps/web/src/routes/health/+server.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { json } from '@sveltejs/kit';
|
||||
import type { RequestHandler } from './$types';
|
||||
|
||||
export const GET: RequestHandler = async () => {
|
||||
return json({
|
||||
status: 'ok',
|
||||
service: 'zitare-web',
|
||||
timestamp: new Date().toISOString(),
|
||||
});
|
||||
};
|
||||
|
|
@ -735,13 +735,13 @@ services:
|
|||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
TZ: Europe/Berlin
|
||||
DOCKER_API_VERSION: "1.45" # Match Docker Desktop API version
|
||||
WATCHTOWER_POLL_INTERVAL: 300 # Check every 5 minutes
|
||||
WATCHTOWER_CLEANUP: "true" # Remove old images
|
||||
WATCHTOWER_INCLUDE_STOPPED: "false" # Only update running containers
|
||||
# Notifications disabled - shoutrrr has URL parsing issues with Telegram bot tokens
|
||||
# Auto-deployment works fine. Set up n8n webhook workflow for notifications if needed.
|
||||
- TZ=Europe/Berlin
|
||||
- DOCKER_API_VERSION=1.45
|
||||
- WATCHTOWER_POLL_INTERVAL=300
|
||||
- WATCHTOWER_CLEANUP=true
|
||||
- WATCHTOWER_INCLUDE_STOPPED=false
|
||||
- WATCHTOWER_NOTIFICATIONS=shoutrrr
|
||||
- WATCHTOWER_NOTIFICATION_URL=telegram://${TELEGRAM_BOT_TOKEN}@telegram?chats=${TELEGRAM_CHAT_ID}
|
||||
|
||||
# ============================================
|
||||
# Volumes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue