Code Monkey home page Code Monkey logo

Comments (3)

NyakudyaA avatar NyakudyaA commented on June 29, 2024 1

First, really appreciate this masterpiece. I am able to up a geoserver in less than 5 minutes (compared to few hours if i didn't use docker)

Now, I am able to use docker volume to create a store inside the geoserver, with the data files from my host. It works brilliant.

Next, I have a question. Assuming I have created a store (eg: a vector data shapefile is added), how do I share/clone this entire thing to my colleagues, such that he/she need not setup an empty geoserver again, but could immediately have all i have at the latest state?

If you are using docker volume you have two ways to get your friend on the same wavelength with you.

  • run docker inspect your container and see where your volume is mounted from.
    ie docker inspect geoserver |grep volume
    You can then copy the folder and share it with your friend

  • Alternatively log in to the running container and copy the geoserver data directory and share the folder with your friend

  • When your friend spins up his running instance he should use a local geoserver data directory.

  • Otherwise in production environments, you should ideally have all your data in a DB

from docker-geoserver.

yong2khoo-lm avatar yong2khoo-lm commented on June 29, 2024

Thanks for your answer.
I just realize, by copying the entire "/opt/geoserver/data_dir", it literally 'copy' everything :)

By the way, when you mention "... have all your data in a DB", do you mean postgis?

from docker-geoserver.

NyakudyaA avatar NyakudyaA commented on June 29, 2024

Thanks for your answer.
I just realize, by copying the entire "/opt/geoserver/data_dir", it literally 'copy' everything :)

By the way, when you mention "... have all your data in a DB", do you mean postgis?

Yes PostGIS or any other DB you are familiar with etc MySQL

from docker-geoserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.