The connection-string test built options with the platform default, which is SQLite on Windows, so it parsed a file path as a PostgreSQL connection string. The server gains a log level setting (TITANO_LOG_LEVEL, also in compose and the Unraid template); the test servers log warnings only, which cuts the suite's output from 511 to 80 lines so failures stay findable in CI logs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
48 lines
1.5 KiB
YAML
48 lines
1.5 KiB
YAML
# Titano Server with PostgreSQL 17. Start: docker compose up -d Admin panel: http://<host>:8080/admin
|
|
name: titano
|
|
|
|
services:
|
|
titano:
|
|
image: ghcr.io/alby96/titano-server:latest
|
|
restart: unless-stopped
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
ports:
|
|
- "8080:8080"
|
|
- "8443:8443"
|
|
environment:
|
|
TITANO_ADMIN_USER: admin
|
|
TITANO_ADMIN_PASSWORD: ${TITANO_ADMIN_PASSWORD:?set TITANO_ADMIN_PASSWORD in .env}
|
|
# postgres (with the TITANO_DB_* values below) or a full connection string: Host=…;Database=…;Username=…;Password=…
|
|
TITANO_DB: postgres
|
|
TITANO_DB_HOST: postgres
|
|
TITANO_DB_NAME: titano
|
|
TITANO_DB_USER: titano
|
|
TITANO_DB_PASSWORD: ${TITANO_DB_PASSWORD:?set TITANO_DB_PASSWORD in .env}
|
|
TITANO_TLS_MODE: auto
|
|
TITANO_SERVER_NAME: Titano Server
|
|
# Trace, Debug, Information, Warning or Error
|
|
TITANO_LOG_LEVEL: Information
|
|
PUID: ${PUID:-1000}
|
|
PGID: ${PGID:-1000}
|
|
TZ: ${TZ:-UTC}
|
|
volumes:
|
|
- ${TITANO_ARCHIVE:-./archive}:/archive
|
|
- ${TITANO_DATA:-./data}:/data
|
|
|
|
postgres:
|
|
image: postgres:17
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_DB: titano
|
|
POSTGRES_USER: titano
|
|
POSTGRES_PASSWORD: ${TITANO_DB_PASSWORD:?set TITANO_DB_PASSWORD in .env}
|
|
volumes:
|
|
- ${TITANO_PGDATA:-./pgdata}:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U titano -d titano"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 10
|