mirror of
https://github.com/hassio-addons/addon-traccar.git
synced 2025-05-04 11:01:29 +00:00
Migrate JSON config to YAML
This commit is contained in:
parent
35b96a7b3c
commit
e378e7fa3f
4 changed files with 38 additions and 40 deletions
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"build_from": {
|
||||
"aarch64": "ghcr.io/hassio-addons/base/aarch64:10.1.0",
|
||||
"amd64": "ghcr.io/hassio-addons/base/amd64:10.1.0"
|
||||
}
|
||||
}
|
4
traccar/build.yaml
Normal file
4
traccar/build.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
build_from:
|
||||
aarch64: ghcr.io/hassio-addons/base/aarch64:10.1.0
|
||||
amd64: ghcr.io/hassio-addons/base/amd64:10.1.0
|
|
@ -1,34 +0,0 @@
|
|||
{
|
||||
"name": "Traccar",
|
||||
"version": "dev",
|
||||
"slug": "traccar",
|
||||
"description": "Modern GPS Tracking Platform",
|
||||
"url": "https://github.com/hassio-addons/addon-traccar",
|
||||
"ingress": true,
|
||||
"ingress_port": 0,
|
||||
"ingress_stream": true,
|
||||
"panel_icon": "mdi:car-connected",
|
||||
"startup": "services",
|
||||
"arch": ["aarch64", "amd64"],
|
||||
"init": false,
|
||||
"host_network": true,
|
||||
"ports": {
|
||||
"80/tcp": null
|
||||
},
|
||||
"ports_description": {
|
||||
"80/tcp": "Web interface (Not required for Ingress)"
|
||||
},
|
||||
"map": ["config:rw", "ssl"],
|
||||
"services": ["mysql:want"],
|
||||
"options": {
|
||||
"ssl": true,
|
||||
"certfile": "fullchain.pem",
|
||||
"keyfile": "privkey.pem"
|
||||
},
|
||||
"schema": {
|
||||
"log_level": "list(trace|debug|info|notice|warning|error|fatal)?",
|
||||
"ssl": "bool",
|
||||
"certfile": "str",
|
||||
"keyfile": "str"
|
||||
}
|
||||
}
|
34
traccar/config.yaml
Normal file
34
traccar/config.yaml
Normal file
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
name: Traccar
|
||||
version: dev
|
||||
slug: traccar
|
||||
description: Modern GPS Tracking Platform
|
||||
url: https://github.com/hassio-addons/addon-traccar
|
||||
ingress: true
|
||||
ingress_port: 0
|
||||
ingress_stream: true
|
||||
panel_icon: mdi:car-connected
|
||||
startup: services
|
||||
arch:
|
||||
- aarch64
|
||||
- amd64
|
||||
init: false
|
||||
host_network: true
|
||||
ports:
|
||||
80/tcp: null
|
||||
ports_description:
|
||||
80/tcp: Web interface (Not required for Ingress)
|
||||
map:
|
||||
- config:rw
|
||||
- ssl
|
||||
services:
|
||||
- mysql:want
|
||||
options:
|
||||
ssl: true
|
||||
certfile: fullchain.pem
|
||||
keyfile: privkey.pem
|
||||
schema:
|
||||
log_level: list(trace|debug|info|notice|warning|error|fatal)?
|
||||
ssl: bool
|
||||
certfile: str
|
||||
keyfile: str
|
Loading…
Add table
Add a link
Reference in a new issue