Full application including FastAPI backend, PostgreSQL data model, background scan worker, multi-tenant support, certificate authentication, SharePoint REST scanner with hierarchical deduplication, SharingLinks classification and post-scan resolve, Excel export, site filter in job details, role name normalisation, and updated documentation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
47 lines
1.6 KiB
YAML
47 lines
1.6 KiB
YAML
services:
|
|
clearview:
|
|
image: ${CLEARVIEW_IMAGE:-gitea.oskamp.info/ivooskamp/clearview:dev}
|
|
container_name: clearview
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${CLEARVIEW_PORT:-8080}:80"
|
|
environment:
|
|
TZ: ${TZ:-Europe/Amsterdam}
|
|
DATABASE_URL: ${DATABASE_URL:-postgresql://${POSTGRES_USER:-clearview}:${POSTGRES_PASSWORD:-clearview}@${POSTGRES_HOST:-postgres}:${POSTGRES_PORT:-5432}/${POSTGRES_DB:-clearview}}
|
|
ONBOARDING_CLIENT_ID: ${ONBOARDING_CLIENT_ID:-}
|
|
ONBOARDING_CLIENT_SECRET: ${ONBOARDING_CLIENT_SECRET:-}
|
|
ONBOARDING_REDIRECT_URI: ${ONBOARDING_REDIRECT_URI:-}
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
|
|
postgres:
|
|
image: ${POSTGRES_IMAGE:-postgres:16-alpine}
|
|
container_name: clearview-postgres
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_DB: ${POSTGRES_DB:-clearview}
|
|
POSTGRES_USER: ${POSTGRES_USER:-clearview}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-clearview}
|
|
TZ: ${TZ:-Europe/Amsterdam}
|
|
volumes:
|
|
- /docker/appdata/clearview/postgres:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-clearview} -d ${POSTGRES_DB:-clearview}"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 10s
|
|
|
|
adminer:
|
|
image: ${ADMINER_IMAGE:-adminer:4-standalone}
|
|
container_name: clearview-adminer
|
|
restart: unless-stopped
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
ports:
|
|
- "${ADMINER_PORT:-8081}:8080"
|
|
environment:
|
|
ADMINER_DEFAULT_SERVER: ${POSTGRES_HOST:-postgres}
|