name: schachpfad
services:
    schachpfad:
        container_name: schachpfad
        cpu_shares: 10
        command:
            - node
            - /app/server.js
        deploy:
            resources:
                limits:
                    memory: "536870912"
                reservations: {}
        environment:
            - TZ=Europe/Berlin
            - PORT=3000
        image: node:22-alpine
        labels:
            icon: http://172.29.0.1:8100/icon-180.png
        network_mode: bridge
        ports:
            - target: 3000
              published: "8100"
              protocol: tcp
        restart: unless-stopped
        volumes:
            - type: bind
              source: /DATA/AppData/schachpfad/app
              target: /app
            - type: bind
              source: /DATA/AppData/schachpfad/data
              target: /app/data
networks:
    default:
        name: schachpfad_default
x-casaos:
    architectures:
        - amd64
    author: self
    category: self
    description:
        custom: "Schachtrainer mit Lernpfad, ELO-Rating (Glicko) und Bot-Gegnern von 250 bis 1000."
    developer: self
    hostname: 172.29.0.1
    icon: http://172.29.0.1:8100/icon-180.png
    index: /
    is_uncontrolled: false
    port_map: "8100"
    scheme: http
    store_app_id: schachpfad
    tagline:
        custom: Dein Weg zu ELO 1000
    title:
        custom: SchachPfad
