Skip to content

Commit 5804fc2

Browse files
authored
[Fixes GeoNode#363] Current django health check in docker-compose.yml useless. (GeoNode#364)
1 parent 03c4617 commit 5804fc2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ services:
3030
dockerfile: Dockerfile
3131
container_name: django4${COMPOSE_PROJECT_NAME}
3232
healthcheck:
33-
test: "curl --fail --silent --write-out 'HTTP CODE : %{http_code}\n' --output /dev/null http://127.0.0.1:8000/"
33+
test: "curl --fail --silent --write-out 'HTTP CODE : %{http_code}\n' --output /dev/null http://127.0.0.1:8001/"
3434
start_period: 60s
3535
interval: 60s
3636
timeout: 10s

src/uwsgi.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[uwsgi]
2-
socket = 0.0.0.0:8000
3-
# http-socket = 0.0.0.0:8000
2+
uwsgi-socket = 0.0.0.0:8000
3+
http-socket = 0.0.0.0:8001
44
logto = /var/log/geonode.log
55
# pidfile = /tmp/geonode.pid
66

0 commit comments

Comments
 (0)