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