version: '3.4'
services:
django:
volumes:
- .:/usr/src/geonode/
- statics:/mnt/volumes/statics
- geoserver-data-dir:/geoserver_data/data
- backup-restore:/backup_restore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#################### Provider #################### | |
# To use the OpenStack provider, we need to specify the provider block | |
terraform { | |
required_providers { | |
openstack = { | |
source = "terraform-provider-openstack/openstack" | |
version = "1.53.0" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from owslib.csw import CatalogueServiceWeb | |
from owslib.fes import PropertyIsEqualTo, PropertyIsLike, BBox | |
# variables | |
csw_endpoint = 'https://atlas.thuenen.de/catalogue/csw' | |
search_text = 'agraratlas' | |
# connect to csw | |
csw = CatalogueServiceWeb(csw_endpoint) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- _geonode_config.html file in geonode/templates/geonode-mapstore-client/_geonode_config.html --> | |
{% extends 'geonode-mapstore-client/_geonode_config.html' %} | |
{% block override_local_config %} | |
<script> | |
window.__GEONODE_CONFIG__.overrideLocalConfig = function(localConfig) { | |
// an example on how you can apply configuration to existing plugins | |
// example: DrawerMenu width (left panel) | |
var selectedPluginName = "TOC"; | |
var pluginPageName = "map_view"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM tomcat:9-jre8 | |
MAINTAINER GeoNode Development Team | |
# | |
# Set GeoServer version and data directory | |
# | |
ENV GEOSERVER_VERSION=2.18.2 | |
# Plugins support | |
# Example: | |
# $ docker-compose -f docker-compose-production.yml build --build-arg plugins="vectortiles netcdf" geoserver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SOME DESCRIPTIVE TITLE. | |
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
# This file is distributed under the same license as the PACKAGE package. | |
# | |
# Translators: | |
# Translators: | |
# Translators: | |
# Translators: | |
# Translators: | |
# Translators: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: geonode/documents/views.py | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
diff --git a/geonode/documents/views.py b/geonode/documents/views.py | |
--- a/geonode/documents/views.py (revision a5a217bd49e7f91b69ace14a54cdb7219fa5d0dc) | |
+++ b/geonode/documents/views.py (revision 9e436c39e470b5a8aae6304f4a62ccbe00f4cf1c) | |
@@ -49,7 +49,8 @@ | |
from geonode.base.forms import CategoryForm, TKeywordForm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
######################################################################### | |
# | |
# Copyright (C) 2020 OSGeo | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.env b/.env | |
index ff474f6fab48be7c5c576135b0a99b493230433f..88dd61182fac0265d15345409b3780b1d51b9762 100644 | |
--- a/.env | |
+++ b/.env | |
@@ -1,2 +1,203 @@ | |
COMPOSE_PROJECT_NAME=geonode | |
-SET_DOCKER_ENV=production | |
\ No newline at end of file | |
+BACKUPS_VOLUME_DRIVER=local | |
+ |
NewerOlder