feat(service): add portabase (#11054)

Co-authored-by: ShadowArcanist <162910371+ShadowArcanist@users.noreply.github.com>
Co-authored-by: 🏔️ Peak <122374094+peaklabs-dev@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-08-10 18:30:58 +02:00
1 parent 1d31276739
commit f5ff4c6afa
2 files changed
+65

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
<svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="512" height="512" fill="#FF6600"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M248.163 125.41C241.201 126.191 233.22 128.685 226.504 132.178C209.268 141.143 197.047 157.181 192.754 176.472C191.775 180.869 191.107 186.952 191.176 190.834L191.215 193.021L190.095 192.789C179.256 190.536 166.254 191.324 156.07 194.849C154.244 195.481 150.567 197.094 147.896 198.433C127.989 208.415 114.631 227.901 112.259 250.417C111.537 257.265 112.358 266.755 114.289 273.886C118.393 289.047 127.978 302.283 141.216 311.073C147.971 315.557 155.343 318.622 163.954 320.525L168.435 321.515L192.522 321.651C205.769 321.726 216.819 321.861 217.075 321.951C217.332 322.041 217.542 322.265 217.542 322.448C217.542 322.631 215.753 325.551 213.566 328.937C211.379 332.323 208.13 337.375 206.346 340.163C204.561 342.951 199.686 350.555 195.511 357.06C176.789 386.234 177.163 385.626 177.283 386.665L177.398 387.664L201.713 387.761L226.028 387.857L232.066 378.503C235.387 373.359 238.318 368.971 238.579 368.753C238.904 368.481 252.307 368.314 281.045 368.221C322.396 368.088 323.103 368.073 327.331 367.264C341.722 364.51 353.992 359.132 365.388 350.581C370.155 347.004 378.745 338.314 382.459 333.312C395.171 316.19 401.286 295.449 399.774 274.587C399.12 265.559 397.695 258.542 394.958 250.867C386.154 226.179 366.911 206.666 342.474 197.647C337.801 195.922 330.036 193.949 325.651 193.371C320.388 192.678 320.791 192.907 320.83 190.634C320.939 184.136 319.441 175.082 317.183 168.587C315.939 165.011 312.723 158.364 310.654 155.097C304.842 145.919 294.945 136.905 285.363 132.06C274.006 126.319 260.918 123.979 248.163 125.41ZM270.891 239.791C270.576 240.162 260.346 256.097 248.159 275.2C235.972 294.304 224.804 311.793 223.342 314.065C219.178 320.534 218.905 321.031 219.3 321.428C219.527 321.656 237.736 321.742 268.92 321.663C317.775 321.537 318.209 321.53 321.422 320.733C335.505 317.243 346.316 307.546 351.086 294.126C354.741 283.843 354.148 272.55 349.435 262.682C344.18 251.681 334.497 243.639 322.554 240.357L318.929 239.361L295.197 239.239C272.731 239.123 271.434 239.152 270.891 239.791Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

+61
View File
@@ -0,0 +1,61 @@
# documentation: https://portabase.io/docs
# slogan: Self-hosted database backup & monitoring platform
# tags: backup, database, monitoring,open-source
# logo: svgs/portabase.svg
# port: 80
services:
portabase:
image: portabase/portabase:1.28.1
restart: always
environment:
- SERVICE_URL_PORTABASE_80
- 'PROJECT_URL=$SERVICE_URL_PORTABASE'
- PROJECT_SECRET=$SERVICE_PASSWORD_64_PORTABASE
- 'DATABASE_URL=postgresql://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgres:5432/${POSTGRES_DB:-portabase}?schema=public'
- PROJECT_NAME=${PROJECT_NAME:-Portabase}
- TZ=${TZ:-Europe/Paris}
- LOG_LEVEL=${LOG_LEVEL:-info}
- RETENTION_CRON=${RETENTION_CRON:-0 7 * * *}
- STALE_BACKUP_THRESHOLD_HOURS=${STALE_BACKUP_THRESHOLD_HOURS:-6}
- BACKUP_FOLDER_NAME=${BACKUP_FOLDER_NAME:-backups}
- TELEMETRY=${TELEMETRY:-true}
- SKIP_ONBOARDING=${SKIP_ONBOARDING:-false}
- API_ENABLED=${API_ENABLED:-false}
- OPENAPI_ENABLED=${OPENAPI_ENABLED:-false}
- MCP_ENABLED=${MCP_ENABLED:-false}
- SMTP_HOST=${SMTP_HOST}
- SMTP_PORT=${SMTP_PORT}
- SMTP_USER=${SMTP_USER}
- SMTP_PASSWORD=${SMTP_PASSWORD}
- SMTP_FROM=${SMTP_FROM}
- SMTP_SECURE=${SMTP_SECURE:-false}
volumes:
- portabase-data:/data
depends_on:
postgres:
condition: service_healthy
healthcheck:
test:
- CMD-SHELL
- 'curl -f http://localhost/api/health'
interval: 30s
timeout: 5s
retries: 3
start_period: 60s
postgres:
image: 'postgres:18-alpine'
volumes:
- 'postgres-data:/var/lib/postgresql'
environment:
- POSTGRES_DB=${POSTGRES_DB:-portabase}
- POSTGRES_USER=$SERVICE_USER_POSTGRES
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
healthcheck:
test:
- CMD-SHELL
- 'pg_isready -U $POSTGRES_USER -d ${POSTGRES_DB}'
interval: 10s
timeout: 5s
retries: 5