Some checks failed
Test / test (push) Has been cancelled
- id: nginx-custom -> nginx (must match folder name for Runtipi discovery) - tipiVersion: 1 -> tipi_version: 2 (correct key name and version) - Removed min_tipi_version and $schema fields - Service name: nginx-custom -> nginx Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"services": [
|
|
{
|
|
"name": "nginx",
|
|
"image": "nginx:latest",
|
|
"isMain": true,
|
|
"internalPort": 80,
|
|
"volumes": [
|
|
{
|
|
"hostPath": "${APP_DATA_DIR}/conf.d",
|
|
"containerPath": "/etc/nginx/conf.d",
|
|
"readOnly": false
|
|
},
|
|
{
|
|
"hostPath": "${APP_DATA_DIR}/nginx.conf",
|
|
"containerPath": "/etc/nginx/nginx.conf",
|
|
"readOnly": false
|
|
},
|
|
{
|
|
"hostPath": "${APP_DATA_DIR}/www",
|
|
"containerPath": "/var/www",
|
|
"readOnly": false
|
|
},
|
|
{
|
|
"hostPath": "${APP_DATA_DIR}/html",
|
|
"containerPath": "/usr/share/nginx/html",
|
|
"readOnly": false
|
|
},
|
|
{
|
|
"hostPath": "${APP_DATA_DIR}/logs",
|
|
"containerPath": "/var/log/nginx",
|
|
"readOnly": false
|
|
},
|
|
{
|
|
"hostPath": "${APP_DATA_DIR}/ssl",
|
|
"containerPath": "/etc/nginx/ssl",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"environment": [
|
|
{
|
|
"key": "NGINX_HOST",
|
|
"value": "${NGINX_SERVER_NAME:-localhost}"
|
|
},
|
|
{
|
|
"key": "TZ",
|
|
"value": "${TZ:-Europe/Paris}"
|
|
}
|
|
],
|
|
"healthCheck": {
|
|
"test": "curl --fail http://localhost:80 || exit 1",
|
|
"interval": "30s",
|
|
"timeout": "10s",
|
|
"retries": 3
|
|
}
|
|
}
|
|
]
|
|
}
|