services: api: build: . ports: - "127.0.0.1:8000:8000" env_file: - path: .env required: false environment: SILLYHOME_MODEL_STORE: /app/data/models volumes: - model-data:/app/data/models read_only: true tmpfs: - /tmp security_opt: - no-new-privileges:true cap_drop: - ALL restart: unless-stopped volumes: model-data: