Public Repository

Last pushed: 10 months ago
Short Description
The 52north/sos-configured image consists of a pre-configured SOS instance running in Tomcat
Full Description

The 52north/sos-configured docker image consists of a pre-configured
SOS instance running in a Tomcat container. It has the following settings:

  • Database connection: PostgreSQL on postgres:5432 with credentials postgres:postgres
    (the DB is running in a DNS named (postgres) docker container)
  • Administrator account with credentials admin:admin
  • Transactional operations enabled

Using a Pre-filled Database

For this example, we use the pre-configured 52north/sos-configured docker image.
A database with some sample data is available as the 52north/sos-weather-postgres
docker image. Execute the following docker commands:

  1. Start the postgres container:
    docker run --name sos-weather-postgres -p 5432:5432 52north/sos-weather-postgres:4.3.8
  2. Run the sos-configured docker image:
    docker run --link sos-weather-postgres:postgres -p 8080:8080 52north/sos-configured:4.3.8

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

version: '2'
services:
  sos-weather-postgres:
    image: 52north/sos-weather-postgres:4.3.8
    ports:
      - 5432:5432
    expose:
      - 5432
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=postgres
      - POSTGRES_DB=sos
  sos-service:
    image: 52north/sos-configured:4.3.8
    ports:
      - 8080:8080
    links:
      - sos-weather-postgres:postgres

The SOS is now up and running at http://localhost:8080/52n-sos-webapp.

Source

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

License

GNU GPL v2

Docker Pull Command
Owner
52north

Comments (0)