Here are some example snippets to help you get started creating a container.
Compatible with docker-compose v3 schemas.
---
version: "3"
services:
vector_sdk:
image: brushknight/vector-sdk-docker
container_name: vector.sdk
volumes:
- </path/to/configs-folder>:/root/.anki_vector/
- <path/to/your-code>:/app/code
restart: unless-stopped
If you already have config files, you can just provide those files via config folder. If you have not, just follow the list.
- Run container with docker compose
- Run
docker exec -it vector.sdk python -m anki_vector.configure
- Follow the setup wizard
- Find
sdk_config.ini
andVector-XXXX-XXXXXXXX.cert
in </path/to/configs-folder>