Files
example-appstore/apps/minio_Potentially Edit/docker-compose.json
2025-11-08 00:18:25 -06:00

51 lines
2.5 KiB
JSON

{
"$schema": "https://schemas.runtipi.io/dynamic-compose.json",
"services": [
{
"name": "minio",
"image": "minio/minio:RELEASE.2025-02-07T23-21-09Z",
"isMain": true,
"internalPort": 9001,
"addPorts": [
{
"hostPort": 8000,
"containerPort": 9000
}
],
"environment": {
"MINIO_ROOT_USER": "${MINIO_ROOT_USER}",
"MINIO_ROOT_PASSWORD": "${MINIO_ROOT_PASSWORD}",
"MINIO_BROWSER_REDIRECT_URL": "${APP_PROTOCOL:-http}://${APP_DOMAIN}",
"MINIO_DOMAIN": "${APP_DOMAIN}"
},
"volumes": [
{
"hostPath": "${APP_DATA_DIR}/data/minio/data",
"containerPath": "/data"
}
],
"command": "server --console-address :9001 /data",
"extraLabels": {
"traefik.http.middlewares.{{RUNTIPI_APP_ID}}-api-web-redirect.redirectscheme.scheme": "https",
"traefik.http.services.{{RUNTIPI_APP_ID}}-api.loadbalancer.server.port": "9000",
"traefik.http.routers.{{RUNTIPI_APP_ID}}-api-insecure.rule": "Host(`${MINIO_API_URL}`)",
"traefik.http.routers.{{RUNTIPI_APP_ID}}-api-insecure.entrypoints": "web",
"traefik.http.routers.{{RUNTIPI_APP_ID}}-api-insecure.service": "{{RUNTIPI_APP_ID}}-api",
"traefik.http.routers.{{RUNTIPI_APP_ID}}-api-insecure.middlewares": "{{RUNTIPI_APP_ID}}-api-web-redirect",
"traefik.http.routers.{{RUNTIPI_APP_ID}}-api.rule": "Host(`${MINIO_API_URL}`)",
"traefik.http.routers.{{RUNTIPI_APP_ID}}-api.entrypoints": "websecure",
"traefik.http.routers.{{RUNTIPI_APP_ID}}-api.service": "{{RUNTIPI_APP_ID}}-api",
"traefik.http.routers.{{RUNTIPI_APP_ID}}-api.tls.certresolver": "myresolver",
"traefik.http.routers.{{RUNTIPI_APP_ID}}-api-local-insecure.rule": "Host(`{{RUNTIPI_APP_ID}}-api.${LOCAL_DOMAIN}`)",
"traefik.http.routers.{{RUNTIPI_APP_ID}}-api-local-insecure.entrypoints": "web",
"traefik.http.routers.{{RUNTIPI_APP_ID}}-api-local-insecure.service": "{{RUNTIPI_APP_ID}}-api",
"traefik.http.routers.{{RUNTIPI_APP_ID}}-api-local-insecure.middlewares": "{{RUNTIPI_APP_ID}}-api-web-redirect",
"traefik.http.routers.{{RUNTIPI_APP_ID}}-api-local.rule": "Host(`{{RUNTIPI_APP_ID}}-api.${LOCAL_DOMAIN}`)",
"traefik.http.routers.{{RUNTIPI_APP_ID}}-api-local.entrypoints": "websecure",
"traefik.http.routers.{{RUNTIPI_APP_ID}}-api-local.service": "{{RUNTIPI_APP_ID}}-api",
"traefik.http.routers.{{RUNTIPI_APP_ID}}-api-local.tls": "true"
}
}
]
}