Files
Pit-Log-App/sync/egg-pitlog.yaml
T

49 lines
1.5 KiB
YAML

meta:
version: PLCN_v3
update_url: https://git.ny.daprogs.com/RallyBlock/Pit-Log-App-Server-Installer-Proxmox/raw/branch/main/egg-pitlog.yaml
exported_at: '2026-10-22T20:00:00+00:00'
name: Pit Log sync
author: pitlog@ny.daprogs.com
uuid: 4f8c2e91-6b3a-4d17-9e50-a1c7d8b24f06
description: Sync server for the Pit Log phone app. Create this on the existing Pelican panel. The console prints the address port and the token.
tags: {}
features: {}
docker_images:
Python 3.13: ghcr.io/pelican-eggs/yolks:python_3.13
Python 3.12: ghcr.io/pelican-eggs/yolks:python_3.12
file_denylist: {}
startup_commands:
Default: /usr/local/bin/python /home/container/pitlog_sync.py
config:
files: {}
startup:
done:
- Pit Log sync listening
logs: {}
stop: ^C
scripts:
installation:
script: |-
#!/bin/bash
apt-get update
apt-get install -y curl ca-certificates
mkdir -p /mnt/server
curl -fsSL "https://git.ny.daprogs.com/RallyBlock/Pit-Log-App-Server-Installer-Proxmox/raw/branch/main/pitlog_sync.py" -o /mnt/server/pitlog_sync.py
test -s /mnt/server/pitlog_sync.py
echo "install complete"
exit 0
container: python:3.12-slim-bookworm
entrypoint: bash
variables:
- sort: 1
name: Token
description: Leave this blank. Each car in the app makes its own token, and that is what the phones share.
env_variable: PITLOG_TOKEN
default_value: ''
user_viewable: true
user_editable: true
rules:
- nullable
- string
- max:128