version: '3.8' services: brooke-spin: build: context: . dockerfile: Dockerfile container_name: brooke-spin restart: unless-stopped # Mount configuration and data volumes: - ./config.yaml:/app/config.yaml:ro - ./data:/data # Environment variables (optional, overrides config.yaml) environment: - BLUESKY_APP_PASSWORD=${BLUESKY_APP_PASSWORD} # Logging logging: driver: "json-file" options: max-size: "10m" max-file: "3" # Resource limits (adjust for your Raspberry Pi) # Uncomment and customize if needed # deploy: # resources: # limits: # cpus: '0.5' # memory: 128M # reservations: # cpus: '0.25' # memory: 64M