services: wrong-notebook: image: ghcr.io/margrop/wrong-notebook:latest container_name: wrong-notebook restart: always ports: - "3000:3000" environment: # NEXTAUTH_URL 根据实际情况设置;NEXTAUTH_SECRET 留空时容器首次启动自动生成并保存到数据卷 #- NEXTAUTH_URL=http://your_domain_name:3000 #- NEXTAUTH_SECRET=可选,留空自动生成 logging: driver: json-file options: max-size: "10m" max-file: "3" volumes: # Persist the SQLite database - ./data:/app/data - ./config:/app/config