Android 1.7.1 - Added a clear sync indicator

This commit is contained in:
2025-09-29 14:03:30 -06:00
parent b930d5ce96
commit 72203dd18a
11 changed files with 388 additions and 541 deletions

View File

@@ -1,14 +1,9 @@
# OpenClimb Sync Server Configuration
# Required: Secret token for authentication
# Generate a secure random token and share it between your apps and server
# Required
AUTH_TOKEN=your-secure-secret-token-here
IMAGE="git.atri.dad/atridad/openclimb-sync:latest"
APP_PORT=1337
ROOT_DIR="./data"
# Optional: Port to run the server on (default: 8080)
PORT=8080
# Optional: Path to store the sync data (default: ./data/climb_data.json)
DATA_FILE=./data/climb_data.json
# Optional: Directory to store images (default: ./data/images)
IMAGES_DIR=./data/images
# Optional
DATA_FILE=/data/data.json
IMAGES_DIR=/data/images

View File

@@ -2,11 +2,12 @@ services:
openclimb-sync:
image: ${IMAGE}
ports:
- "8080:8080"
- ${APP_PORT}:8080
environment:
- AUTH_TOKEN=${AUTH_TOKEN:-your-secret-token-here}
- DATA_FILE=/data/climb_data.json
- IMAGES_DIR=/data/images
- AUTH_TOKEN=${AUTH_TOKEN}
- DATA_FILE=${DATA_FILE}
- IMAGES_DIR=${IMAGES_DIR}
volumes:
- ./data:/data
- ${ROOT_DIR}:/data
restart: unless-stopped
networks: {}