Skip to content

Commit 55980dd

Browse files
committed
- [demo](demo/Makefile) Remove obsolete element version in docker-compose.yml.
- [build](Dockerfile) Fix healthcheck.
1 parent 7dfac95 commit 55980dd

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 1.0.6
2+
3+
- [demo](demo/Makefile) Remove obsolete element version in docker-compose.yml.
4+
- [build](Dockerfile) Fix healthcheck.
5+
16
# 1.0.5
27

38
- [github](.github/workflows/testimage.yml) Now use GitHub Actions to test image.

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ EXPOSE 80
5353
# Rudimentary healthcheck
5454
#
5555

56-
HEALTHCHECK CMD nginx -t &>/dev/null && wget -O - localhost:80 &>/dev/null \
57-
|| exit 1
56+
HEALTHCHECK CMD curl -so /dev/null http://localhost/ || exit 1
5857

5958
#
6059
# Entrypoint, how container is run

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You can also try out the [demo](#demo) that comes with the [github](https://gith
4343
Using docker compose, the following `docker-compose.yml` file will start a [Gitolite](https://gitolite.com/gitolite/) server and Gitweb server.
4444

4545
```yaml
46-
version: '3'
46+
name: demo
4747

4848
services:
4949
repo:

demo/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '3'
1+
name: demo
22

33
services:
44
repo-gui:

0 commit comments

Comments
 (0)