48 lines
1 KiB
JSON
48 lines
1 KiB
JSON
{
|
|
"schemaVersion": 2,
|
|
"services": [
|
|
{
|
|
"name": "readeck",
|
|
"image": "codeberg.org/readeck/readeck:latest",
|
|
"isMain": true,
|
|
"environment": [
|
|
{
|
|
"key": "READECK_LOG_LEVEL",
|
|
"value": "info"
|
|
},
|
|
{
|
|
"key": "READECK_SERVER_HOST",
|
|
"value": "0.0.0.0"
|
|
},
|
|
{
|
|
"key": "READECK_SERVER_PORT",
|
|
"value": "8000"
|
|
},
|
|
{
|
|
"key": "READECK_TRUSTED_PROXIES",
|
|
"value": "['127.0.0.0/8', '::1/128']"
|
|
},
|
|
{
|
|
"key": "READECK_LOG_FORMAT",
|
|
"value": "text"
|
|
}
|
|
],
|
|
"internalPort": 8000,
|
|
"volumes": [
|
|
{
|
|
"hostPath": "${APP_DATA_DIR}/data/",
|
|
"containerPath": "/readeck",
|
|
"readOnly": false,
|
|
"shared": false,
|
|
"private": false
|
|
}
|
|
],
|
|
"healthCheck": {
|
|
"test": "/bin/readeck healthcheck -config /readeck/config.toml",
|
|
"interval": "30s",
|
|
"timeout": "2s",
|
|
"retries": 3
|
|
}
|
|
}
|
|
]
|
|
}
|