services:
  taskplaner:
    build: .
    container_name: taskplaner
    ports:
      - "3000:3000"
    volumes:
      - taskplaner_data:/app/data
    environment:
      - NODE_ENV=production
      - DATA_DIR=/app/data
      - TASKPLANER_ORIGIN=http://localhost:3000
    restart: unless-stopped

volumes:
  taskplaner_data:
