File tree Expand file tree Collapse file tree 6 files changed +47
-8
lines changed
analytics-datastore-clickhouse
documentation/packages/reverse-proxy-traefik Expand file tree Collapse file tree 6 files changed +47
-8
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,11 @@ services:
2323 reverse-proxy :
2424 default :
2525
26+
2627volumes :
2728 clickhouse-data :
2829
30+
2931configs :
3032 clickhouse_metric_log.xml :
3133 file : ./general_configs/metric_log.xml
@@ -55,4 +57,7 @@ networks:
5557 reverse-proxy :
5658 name : reverse-proxy_public
5759 external : true
60+ datalake :
61+ name : minio_public
62+ external : true
5863 default :
Original file line number Diff line number Diff line change 99 "REPMGR_PRIMARY_HOST" : " postgres-1" ,
1010 "REPMGR_PARTNER_NODES" : " postgres-1" ,
1111 "REPMGR_PASSWORD" : " instant101" ,
12- "POSTGRES_IMAGE" : " bitnami/postgresql-repmgr:14" ,
12+ "POSTGRES_IMAGE" : " bitnami/postgresql-repmgr:14@sha256:bdf1e4903710c4e0b465664b886d4556897e1b18c07d7c513a4fc1ceba929e02 " ,
1313 "POSTGRES_1_PLACEMENT" : " node-1" ,
1414 "POSTGRES_2_PLACEMENT" : " node-2" ,
1515 "POSTGRES_3_PLACEMENT" : " node-3" ,
Original file line number Diff line number Diff line change @@ -24,16 +24,31 @@ services:
2424 labels :
2525 - traefik.enable=true
2626 - traefik.docker.network=reverse-proxy-traefik_public
27- - traefik.http.routers.minio.rule=${DOMAIN_NAME_HOST_TRAEFIK} && PathPrefix(`/minio`)
28- - traefik.http.services.minio.loadbalancer.server.port=9001
29- - traefik.http.middlewares.minio-stripprefix.stripprefix.prefixes=/minio
30- - traefik.http.routers.minio.middlewares=minio-stripprefix
27+ - traefik.http.routers.minio-console.rule=Host(`${DOMAIN_NAME_HOST_TRAEFIK}`) && PathPrefix(`/minio-console`)
28+ - traefik.http.routers.minio-console.priority=100
29+ - traefik.http.routers.minio-console.service=minio-console-service
30+ - traefik.http.services.minio-console-service.loadbalancer.server.port=9001
31+ - traefik.http.middlewares.minio-console-stripprefix.stripprefix.prefixes=/minio-console/
32+ - traefik.http.routers.minio-console.middlewares=minio-console-stripprefix
33+ - traefik.http.routers.minio-console.tls=${TLS}
34+
35+ - traefik.http.routers.minio-api.rule=Host(`${DOMAIN_NAME_HOST_TRAEFIK}`) && PathPrefix(`/minio-api`)
36+ - traefik.http.routers.minio-api.priority=100
37+ - traefik.http.routers.minio-api.service=minio-api-service
38+ - traefik.http.services.minio-api-service.loadbalancer.server.port=9090
39+ - traefik.http.middlewares.minio-api-stripprefix.stripprefix.prefixes=/minio-api/
40+ - traefik.http.routers.minio-api.middlewares=minio-api-stripprefix
41+ - traefik.http.routers.minio-api.tls=${TLS}
3142 networks :
3243 public :
44+ traefik :
3345networks :
3446 public :
3547 name : minio_public
3648 external : true
49+ traefik :
50+ name : reverse-proxy-traefik_public
51+ external : true
3752
3853volumes :
3954 minio-01-data1 :
Original file line number Diff line number Diff line change @@ -92,14 +92,30 @@ Set the following environment variables in the package-metadata.json in the "./d
9292Set the following environment variables in the package-metadata.json in the "monitoring" directory
9393
9494``` bash
95-
9695" environmentVariables" :
9796{
9897# Other Configurations
9998...
100- " MINIO_BROWSER_REDIRECT_URL" : " https://domain/minio/"
99+ " MINIO_BROWSER_REDIRECT_URL" : " https://domain/minio-console /"
101100}
101+ ```
102+
103+ ### MinIO Configuration
104+
105+ The MinIO server is configured to run with the following port settings:
106+
107+ - ** API Port** : 9090
108+ - ** Console Port** : 9001
109+
110+ Ensure that your Traefik configuration reflects these ports to properly route traffic to the MinIO services. The API can be accessed at ` https://<domain>/minio ` and the Console at ` https://<domain>/minio-console ` .
111+
112+ Update your Traefik labels in the ` docker-compose.yml ` to match these settings:
102113
114+ ``` yaml
115+ # API Configuration
116+ - traefik.http.services.minio.loadbalancer.server.port=9090
117+ # Console Configuration
118+ - traefik.http.services.minio-console.loadbalancer.server.port=9001
103119` ` `
104120
105121### Enabling Grafana
Original file line number Diff line number Diff line change 2929 "MO_SECURITY_ADMIN_PASSWORD" : " dev_password_only" ,
3030 "MO_RETENTION_TIME" : " 15d" ,
3131 "GF_SERVER_SERVE_FROM_SUB_PATH" : " false" ,
32- "MINIO_BROWSER_REDIRECT_URL" : " " ,
3332 "DOCKER_SOCK_FOLDER" : " /var/run/docker.sock" ,
3433 "DOCKER_LIB_FOLDER" : " /var/lib/docker/"
3534 }
Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ services:
4949 - traefik.http.middlewares.to-https.redirectscheme.permanent=${REDIRECT_TO_HTTPS}
5050 - traefik.http.middlewares.auth.basicauth.users=${USERNAME}:${PASSWORD}
5151
52+ - " traefik.http.middlewares.bigfiles.buffering.maxRequestBodyBytes=100000000"
53+ - " traefik.http.service.traefik.loadbalancer.server.forwardingTimeouts.dialTimeout=120s"
54+ - " traefik.http.service.traefik.loadbalancer.server.forwardingTimeouts.responseHeaderTimeout=120s"
55+
5256 placement :
5357 max_replicas_per_node : 1
5458 constraints :
You can’t perform that action at this time.
0 commit comments