name: anki
services:
  app:
    build: .
    image: anki-sync-server:local
    container_name: anki-sync-server
    restart: always
    ports:
      - "127.0.0.1:8180:8080"
    volumes:
      - data:/anki_data
    environment:
      - SYNC_USER1=${ANKI_USER1:-admin:changeme}
      - SYNC_BASE=/anki_data

volumes:
  data:
