name: zeitgeist
services:
    zeitgeist:
        container_name: Zeitgeist
        cpu_shares: 10
        command:
            - sh
            - -c
            - cd /app && [ ! -d node_modules ] && npm install --production; node server.js
        deploy:
            resources:
                limits:
                    memory: "8209231872"
                reservations: {}
        image: node:20-alpine
        labels:
            icon: http://172.29.0.1:8765/icon.png
        network_mode: bridge
        ports:
            - target: 3000
              published: "8765"
              protocol: tcp
        restart: unless-stopped
        volumes:
            - type: bind
              source: /media/HDD_1TB/Zeitgeist
              target: /app
networks:
    default:
        name: zeitgeist_default
x-casaos:
    author: self
    category: self
    hostname: 172.29.0.1
    icon: http://172.29.0.1:8765/icon.png
    index: /zeitgeist.html
    is_uncontrolled: false
    port_map: "8765"
    scheme: http
    store_app_id: zeitgeist
    title:
        custom: Zeitgeist
