From fb435141d577061eb9e77459b8403c62df25fe9a Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Thu, 3 Nov 2022 18:37:11 +0100 Subject: [PATCH] Add anki sync server --- anki/README.md | 4 ++++ anki/docker-compose.yaml | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 anki/README.md create mode 100644 anki/docker-compose.yaml diff --git a/anki/README.md b/anki/README.md new file mode 100644 index 0000000..98ef781 --- /dev/null +++ b/anki/README.md @@ -0,0 +1,4 @@ +# anki + + A personal Anki sync server (so you can sync against your own server rather than AnkiWeb) + diff --git a/anki/docker-compose.yaml b/anki/docker-compose.yaml new file mode 100644 index 0000000..0f8fd29 --- /dev/null +++ b/anki/docker-compose.yaml @@ -0,0 +1,22 @@ +version: '3' + +services: + anki: + image: harbor.jfreudenberger.de:8443/anki/sync + restart: unless-stopped + volumes: + - anki-data:/data + environment: + - VIRTUAL_HOST=anki.jfreudenberger.de + - VIRTUAL_PORT=27701 + - LETSENCRYPT_HOST=anki.jfreudenberger.de + networks: + - webproxy + +volumes: + anki-data: + +networks: + webproxy: + external: true + name: webproxy