Skip to content

Commit 12ba8e9

Browse files
committed
Merge branch 'release/1.2.0'
2 parents 56ea1e9 + f1b814f commit 12ba8e9

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nginx:1.17.3-alpine
1+
FROM nginxinc/nginx-unprivileged:1.17.8-alpine
22
LABEL MAINTAINER="BBT Software AG <devadmin@bbtsoftware.ch>"
33

44
ENV CHK_DOCKER_API_VERSION v1.38
@@ -10,10 +10,15 @@ ENV TZ UTC
1010

1111
COPY index.html /usr/share/nginx/html/index.html
1212

13+
USER root
14+
RUN chmod 775 /usr/share/nginx/html/
15+
RUN chown nginx:nginx /usr/share/nginx/html/
1316
RUN apk add --no-cache bash curl jq && \
1417
echo $TZ > /etc/timezone
18+
USER nginx
1519

1620
COPY docker-entrypoint.sh /usr/local/bin/
21+
1722
ENTRYPOINT ["docker-entrypoint.sh"]
1823

1924
EXPOSE 80

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Docker image to monitor a [Docker Swarm](https://docs.docker.com/engine/swarm/).
44

5+
Supported monitoring systems:
6+
7+
* [PRTG Network Monitor](https://www.paessler.com/prtg/)
8+
59
## Information
610

711
| Service | Stats |
@@ -27,8 +31,9 @@ docker pull bbtsoftwareag/swarm-monitor
2731
| Tag | Description | Size |
2832
|--------|-----------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|
2933
| latest | Latest master build | ![Size](https://shields.beevelop.com/docker/image/image-size/bbtsoftwareag/swarm-monitor/latest.svg?style=flat-square) |
30-
| 1.0.0 | Release [1.0.0](https://github.com/bbtsoftware/docker-swarm-monitor/releases/tag/1.0.0) | ![Size](https://shields.beevelop.com/docker/image/image-size/bbtsoftwareag/swarm-monitor/1.0.0.svg?style=flat-square) |
34+
| 1.2.0 | Release [1.2.0](https://github.com/bbtsoftware/docker-swarm-monitor/releases/tag/1.2.0) | ![Size](https://shields.beevelop.com/docker/image/image-size/bbtsoftwareag/swarm-monitor/1.2.0.svg?style=flat-square) |
3135
| 1.1.0 | Release [1.1.0](https://github.com/bbtsoftware/docker-swarm-monitor/releases/tag/1.1.0) | ![Size](https://shields.beevelop.com/docker/image/image-size/bbtsoftwareag/swarm-monitor/1.1.0.svg?style=flat-square) |
36+
| 1.0.0 | Release [1.0.0](https://github.com/bbtsoftware/docker-swarm-monitor/releases/tag/1.0.0) | ![Size](https://shields.beevelop.com/docker/image/image-size/bbtsoftwareag/swarm-monitor/1.0.0.svg?style=flat-square) |
3237

3338
### Volumes
3439

@@ -92,4 +97,4 @@ docker run -d \
9297
-e CHK_MONITOR=prtg \
9398
-e "CHK_SERVICES=monitor_app.1 proxy_app.3" \
9499
bbtsoftwareag/swarm-monitor:latest
95-
```
100+
```

0 commit comments

Comments
 (0)