services: db: image: postgres:16-alpine restart: unless-stopped environment: POSTGRES_USER: lms_user POSTGRES_PASSWORD: lms_password POSTGRES_DB: lms_db ports: - "5432:5432" volumes: - postgres_data:/var/lib/postgresql/data volumes: postgres_data: