services: stream-recorder: build: . image: stream-recorder:latest container_name: stream-recorder restart: unless-stopped ports: - "${APP_PORT_BIND:-8484}:8484" volumes: - ./data:/app/data # Optional: Recordings auf separatem Pfad (dann download_path in Einstellungen anpassen) # - /mnt/storage/recordings:/recordings networks: stream-recorder_net: ipv4_address: ${APP_IPV4_ADDRESS:-172.16.84.10} environment: TZ: ${TZ:-Europe/Berlin} healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8484/api/health"] interval: 30s timeout: 5s retries: 3 start_period: 10s networks: stream-recorder_net: name: ${DOCKER_NETWORK_NAME:-stream-recorder.dockernetwork.local} driver: bridge ipam: config: - subnet: ${DOCKER_NETWORK_SUBNET:-172.16.84.0/24} gateway: ${DOCKER_NETWORK_GATEWAY:-172.16.84.1} ip_range: ${DOCKER_NETWORK_IP_RANGE:-172.16.84.128/25}