From 19176c4edaa7394ac40d0136bd9c39b01fd3f5d0 Mon Sep 17 00:00:00 2001 From: jdonlucas Date: Fri, 23 Aug 2024 20:28:31 +0200 Subject: [PATCH] fix: issues with geonode libraries --- .env | 10 +++++----- docker-compose.yml | 3 +-- requirements.txt | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.env b/.env index 7f9882abc90..d6c0072cb91 100644 --- a/.env +++ b/.env @@ -45,7 +45,7 @@ BROKER_URL=amqp://guest:guest@rabbitmq:5672/ CELERY_BEAT_SCHEDULER=celery.beat:PersistentScheduler ASYNC_SIGNALS=True -SITEURL=https://geonode.centrogeo.org.mx +SITEURL=http://localhost ALLOWED_HOSTS=['django', '*'] @@ -62,12 +62,12 @@ HAYSTACK_SEARCH_RESULTS_PER_PAGE=200 # nginx # HTTPD Server # ################# -GEONODE_LB_HOST_IP=geonode.centrogeo.org.mx +GEONODE_LB_HOST_IP=localhost GEONODE_LB_PORT=80 # IP or domain name and port where the server can be reached on HTTPS (leave HOST empty if you want to use HTTP only) # port where the server can be reached on HTTPS -HTTP_HOST=geonode.centrogeo.org.mx +HTTP_HOST=localhost HTTPS_HOST= HTTP_PORT=80 @@ -87,8 +87,8 @@ RESOLVER=127.0.0.11 # ################# # geoserver # ################# -GEOSERVER_WEB_UI_LOCATION=https://geonode.centrogeo.org.mx/geoserver/ -GEOSERVER_PUBLIC_LOCATION=https://geonode.centrogeo.org.mx/geoserver/ +GEOSERVER_WEB_UI_LOCATION=http://localhost/geoserver/ +GEOSERVER_PUBLIC_LOCATION=http://localhost/geoserver/ GEOSERVER_LOCATION=http://geoserver:8080/geoserver/ GEOSERVER_ADMIN_USER=admin GEOSERVER_ADMIN_PASSWORD=geoserver diff --git a/docker-compose.yml b/docker-compose.yml index a0545f80090..d0c790a25a6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -43,7 +43,6 @@ services: # Celery worker that executes celery tasks created by Django. celery: << : *default-common-django - image: geonode/geonode:4.0 container_name: celery4${COMPOSE_PROJECT_NAME} depends_on: - django @@ -89,7 +88,7 @@ services: # Geoserver backend geoserver: - image: geonode/geoserver:2.23.0 + image: geonode/geoserver:2.23.3 container_name: geoserver4${COMPOSE_PROJECT_NAME} healthcheck: test: "curl --fail --silent --write-out 'HTTP CODE : %{http_code}\n' --output /dev/null http://127.0.0.1:8080/geoserver/ows" diff --git a/requirements.txt b/requirements.txt index 55df34605f3..d86c76d84ca 100644 --- a/requirements.txt +++ b/requirements.txt @@ -109,7 +109,7 @@ django-bootstrap3-datetimepicker-2==2.8.3 # storage manager dependencies django-storages==1.13.2 -dropbox==11.36.0 +dropbox==11.36.2 google-cloud-storage==2.9.0 google-cloud-core==2.3.2 boto3==1.26.137