# Vor dem ersten Start: touch kasse.db (bzw. echo. > kasse.db unter Windows) # damit Docker keine Verzeichnis-Datei erstellt services: erdbeerkasse: build: . container_name: erdbeerkasse restart: unless-stopped healthcheck: test: ["CMD", "python", "-c", "import urllib.request,sys; urllib.request.urlopen('http://127.0.0.1:90/', timeout=5); sys.exit(0)"] interval: 30s timeout: 10s retries: 3 start_period: 15s ports: - "9090:90" volumes: - ./kasse.db:/app/kasse.db - ./log:/app/log