anki-sync-server/docker-compose.yml

15 lines
335 B
YAML
Raw Normal View History

2023-09-06 17:09:19 +00:00
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}
2023-09-06 17:09:19 +00:00
ports:
- "${ANKI_PORT}:8080"
2023-09-06 17:09:19 +00:00
volumes:
- "${ANKI_VOLUME_PATH}:/data"