auto-lms / docker-compose.yml
akashdahad's picture
Deploy auto-lms (Next.js + worker + embedded Postgres)
6d6eaef verified
Raw History Blame Contribute Delete
634 Bytes
# Local infra for auto-lms. Postgres only — everything else runs on the host.
# Host port 5433 avoids clashing with any local Postgres already on 5432.
services:
postgres:
image: postgres:17-alpine
container_name: auto-lms-postgres
restart: unless-stopped
environment:
POSTGRES_USER: autolms
POSTGRES_PASSWORD: autolms
POSTGRES_DB: autolms
ports:
- "5433:5432"
volumes:
- auto-lms-pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U autolms -d autolms"]
interval: 5s
timeout: 5s
retries: 10
volumes:
auto-lms-pgdata: