Sign inSign up

52north/sos-configured

By 52north

•Updated almost 10 years ago

The 52north/sos-configured image consists of a pre-configured SOS instance running in Tomcat

Image
1

605

52north/sos-configured repository overview

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⁠

Tag summary

Content type

Image

Digest

Size

240.8 MB

Last updated

almost 10 years ago

docker pull 52north/sos-configured:4.3.8