quay.io/bitnami/nginx does not exist any more. This one is maintained
well.
Also expose the httpd port to the host, for easier debugging.
mountPath: /etc/prometheus
readOnly: true
- - image: quay.io/bitnami/nginx
+ - image: quay.io/jitesoft/nginx
name: httpd
+ ports:
+ - containerPort: 80
+ hostPort: 3002
+ protocol: TCP
volumeMounts:
- name: http
- mountPath: /app
+ mountPath: /usr/local/nginx/html
readOnly: true
volumes:
metrics_path: /metrics
scheme: http
static_configs:
- - targets: ['localhost:8080']
+ - targets: ['localhost']