Public Repository

Last pushed: 10 months ago
Short Description
The 52north/sos image is a simple instance of a non-configured SOS
Full Description

The 52north/sos docker image is a simple instance of a non-configured SOS.
This image requires the installation procedure to be executed.

Using an Empty Database

Run the following docker commands:

  1. Start the postgres container:
    docker run -e "POSTGRES_DB=sos" --name sos-empty-postgres -p 5432:5432 mdillon/postgis:9.5
  2. Run the sos docker image:
    docker run --link sos-empty-postgres:postgres -p 8080:8080 52north/sos:4.3.8

Alternatively, you can use the following docker-compose file (run with
docker-compose build && docker-compose up):

version: '2'
services:
  postgres-db-empty:
    image: mdillon/postgis:9.5
    expose:
      - 5432
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=postgres
      - POSTGRES_DB=sos
  sos-service:
    image: 52north/sos:4.3.8
    ports:
      - 8080:8080
    links:
      - postgres-db-empty:postgres

Now, access http://localhost:8080/52n-sos-webapp.
The landing page will tell you to execute the installation procedure. Follow this
guided procedure. In particular, apply the following properties:

  • as the Datasource select PostgreSQL/PostGIS
  • in the Database Configuration section, make sure to set the
    Host to postgres

You will have your SOS running in a few seconds.

Source

https://github.com/52North/SOS

License

GNU GPL v2

Docker Pull Command
Owner
52north

Comments (1)
ehj52n
6 months ago

Is it possible to provide the link to the dockerfile?