find-my-iphone: Alexa/REST bridge to ring iPhone via iCloud
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"schemaVersion": 2,
|
||||
"$schema": "https://schemas.runtipi.io/dynamic-compose.json",
|
||||
"services": [
|
||||
{
|
||||
"name": "find-my-iphone",
|
||||
"image": "git.alexzaw.dev/alexz/find-my-iphone:latest",
|
||||
"isMain": true,
|
||||
"internalPort": 8080,
|
||||
"environment": [
|
||||
{ "key": "PORT", "value": "8080" },
|
||||
{ "key": "DATA_DIR", "value": "/data" },
|
||||
{ "key": "APPLE_ID", "value": "${APPLE_ID}" },
|
||||
{ "key": "APPLE_PASSWORD", "value": "${APPLE_PASSWORD}" },
|
||||
{ "key": "API_KEY", "value": "${API_KEY}" },
|
||||
{ "key": "ALEXA_SKILL_ID", "value": "${ALEXA_SKILL_ID:-}" },
|
||||
{ "key": "DEFAULT_DEVICE", "value": "${DEFAULT_DEVICE:-}" }
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"hostPath": "${APP_DATA_DIR}/data",
|
||||
"containerPath": "/data",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"healthCheck": {
|
||||
"test": "curl -f http://127.0.0.1:8080/health || exit 1",
|
||||
"interval": "30s",
|
||||
"timeout": "5s",
|
||||
"retries": 3,
|
||||
"startPeriod": "10s"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user