Files
umbrel-apps/kan/docker-compose.yml
T
2026-11-24 20:39:58 +00:00

44 lines
1.3 KiB
YAML

services:
app_proxy:
environment:
APP_HOST: kan_server_1
APP_PORT: 3000
PROXY_AUTH_ADD: "false"
migrate:
image: ghcr.io/kanbn/kan-migrate:0.8.0@sha256:cc827c51e1385eac1c1088338a16fda996349f4998600015269afccb9211cc7e
environment:
POSTGRES_URL: 'postgresql://kanuser:kanpassword@kan_db_1:5432/kan?sslmode=disable'
depends_on:
db:
condition: service_healthy
restart: on-failure
server:
image: ghcr.io/kanbn/kan:0.8.0@sha256:5ccb03c783f6d2abd6acbefadf91bdf757702e848426ac0878920670397dbcec
environment:
NEXT_PUBLIC_BASE_URL: http://${DEVICE_DOMAIN_NAME}:8373
BETTER_AUTH_SECRET: ${APP_SEED}
POSTGRES_URL: 'postgresql://kanuser:kanpassword@kan_db_1:5432/kan?sslmode=disable'
NEXT_PUBLIC_ALLOW_CREDENTIALS: "true"
depends_on:
migrate:
condition: service_completed_successfully
restart: on-failure
db:
image: postgres:17.3@sha256:0321e2252ebfeecb8bc1a899755084d29bce872953e1a5a3e25ec0860b739098
user: "1000:1000"
environment:
POSTGRES_DB: kan
POSTGRES_USER: kanuser
POSTGRES_PASSWORD: kanpassword
healthcheck:
test: ["CMD-SHELL", "pg_isready -U kanuser -d kan"]
interval: 5s
timeout: 5s
retries: 10
restart: on-failure
volumes:
- ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data