Skip to content

Commit 7317c78

Browse files
author
Mike Holloway
committed
comment healthcheck by default, until user configures webserver
1 parent 24a6e7d commit 7317c78

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ RUN apk add --no-cache --virtual .build-deps \
3333

3434
EXPOSE 3141 3142
3535
VOLUME ["/err/data/"]
36-
HEALTHCHECK --interval=25s --timeout=2s --start-period=30s CMD /usr/bin/curl -s -I -X GET http://localhost:3141
36+
37+
#Add HEALTHCHECK after enabling errbot webserver
38+
#HEALTHCHECK --interval=25s --timeout=2s --start-period=30s CMD /usr/bin/curl -s -I -X GET http://localhost:3141
39+
3740
WORKDIR /err
3841
ENTRYPOINT ["errbot", "-c", "/err/config.py"]

docker-compose-swarmstack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ services:
5151
memory: 512M
5252
reservations:
5353
memory: 384M
54-
#Add after enabling errbot webserver
54+
#Add healthcheck after enabling errbot webserver
5555
#healthcheck:
5656
# test: "/usr/bin/curl -s -I -X GET http://localhost:3141"
5757
# interval: 25s

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ services:
3939
memory: 512M
4040
reservations:
4141
memory: 384M
42-
#Add after enabling errbot webserver
42+
#Add healthcheck after enabling errbot webserver
4343
#healthcheck:
4444
# test: "/usr/bin/curl -s -I -X GET http://localhost:3141"
4545
# interval: 25s

0 commit comments

Comments
 (0)