[GeoNode-users] Custome geonode project with a custom postgres image
Zizi Jama
mazizi.jama at gmail.com
Mon Mar 6 04:45:53 PST 2017
I did a "git clone https://github.com/GeoNode/geonode-project.git"
I then modified my docker-compose-yml
By replacing the following
postgres:
image: postgres
with
postgres:
image: waybarrios/postgres
The reason is that, this image creates two databases - geonode (no postgis)
and geonode_data (with postgis)
Will I have to make modifications on the following sections of the compose
file:
django:
build: .
links:
- postgres
- elasticsearch
- rabbitmq
environment:
- *DATABASE_URL=postgres://postgres:postgres@postgres:5432/postgres*
- BROKER_URL=amqp://guest:guest@rabbitmq:5672/
- DJANGO_SETTINGS_MODULE={{project_name}}.settings
- GEOSERVER_BASE_URL="http://geoserver:8080/geoserver/"
- ALLOWED_HOSTS=['django',]
celery:
build: .
links:
- rabbitmq
- postgres
- elasticsearch
command: celery worker --app={{project_name}}.celeryapp:app -B -l INFO
environment:
- *DATABASE_URL=postgres://postgres:postgres@postgres:5432/postgres*
- BROKER_URL=amqp://guest:guest@rabbitmq:5672/
- GEOSERVER_BASE_URL="http://geoserver:8080/geoserver/"
- DJANGO_SETTINGS_MODULE={{project_name}}.settings
- ALLOWED_HOSTS=['django',]
- C_FORCE_ROOT=1
Besides the above will I also need to make additional changes.
Regards,
Mazizi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170306/3c0f3e9d/attachment.html>
More information about the geonode-users
mailing list