services: app_proxy: environment: APP_HOST: kan_server_1 APP_PORT: 3000 PROXY_AUTH_ADD: "false" migrate: image: ghcr.io/kanbn/kan-migrate:0.7.0@sha256:dc92e02b8714df0ab844ebed74e1d053318fce15d847bc271659d0852b044e83 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.7.0@sha256:99d60e0b539ae70c76d1a02d04e96fd17cfe1d1a6c6bab6e9f9107e644dd8038 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