anki-sync-server/docker-compose.yml

15 lines
335 B
YAML

version: '3'
services:
anki-sync-server:
build: ./anki-sync
environment:
- ANKISYNCD_DATA_ROOT=/data
- ANKISYNCD_AUTH_DB_PATH=/data/auth.db
- ANKISYNCD_SESSION_DB_PATH=/data/session.db
- SYNC_USERS=${SYNC_USERS}
ports:
- "${ANKI_PORT}:8080"
volumes:
- "${ANKI_VOLUME_PATH}:/data"