Files
runtipi-appstore/apps/nginx/docker-compose.json
Hermes Agent d24d0c194b
Test / test (pull_request) Canceled after 0s
fix(apps): normalize environment mappings
2026-09-02 17:23:48 +02:00

45 lines
1.1 KiB
JSON

{
"schemaVersion": 2,
"services": [
{
"name": "nginx",
"image": "nginx:latest",
"isMain": true,
"internalPort": "80",
"volumes": [
{
"hostPath": "${APP_DATA_DIR}/data/conf.d",
"containerPath": "/etc/nginx/conf.d"
},
{
"hostPath": "${APP_DATA_DIR}/data/nginx.conf",
"containerPath": "/etc/nginx/nginx.conf"
},
{
"hostPath": "${APP_DATA_DIR}/data/www",
"containerPath": "/var/www"
},
{
"hostPath": "${APP_DATA_DIR}/data/logs",
"containerPath": "/var/log/nginx"
},
{
"hostPath": "${APP_DATA_DIR}/data/ssl",
"containerPath": "/etc/nginx/ssl",
"readOnly": true
}
],
"environment": {
"NGINX_HOST": "${NGINX_SERVER_NAME:-localhost}",
"TZ": "${TZ:-Europe/Paris}"
},
"healthCheck": {
"test": "curl --fail http://localhost:80 || exit 1",
"interval": "30s",
"timeout": "10s",
"retries": 3
}
}
]
}