An open API service indexing awesome lists of open source software.

https://github.com/magenta-aps/postgres-os2mo

A docker image containing postgres and the extensions LoRa and OS2mo needs.
https://github.com/magenta-aps/postgres-os2mo

managed-by-atlantis mirrored-repository

Last synced: 14 days ago
JSON representation

A docker image containing postgres and the extensions LoRa and OS2mo needs.

Awesome Lists containing this project

README

        

# Postgres OS2mo init containers

This repository contains Postgres init containers, currently two init containers:

* MOX
* Keycloak

For both of them environmental variables to connect to Postgres are available:

* `POSTGRES_HOST`: Hostname of the PostgreSQL database.
* `POSTGRES_PORT`: Port of the PostgreSQL database.
* `POSTGRES_USER`: Username for a superuser on the database.
* `POSTGRES_USER_SUFFIX`: Optional username suffix, usually takes the form of `@host`.
* `POSTGRES_PASSWORD`: Password for the superuser on the database.
* `POSTGRES_SSL`: Whether to use SSL when connecting to the database.

Each of them have their own unique variables too:

* MOX:

** `DB_NAME`: The name to create the mox database under
** `DB_USER`: The name to assign the mox database user
** `DB_PASSWORD`: The password to assign the mox database user

* Keycloak:

** `KEYCLOAK_DB_NAME`: The name to create the keycloak database under
** `KEYCLOAK_DB_USER`: The name to assign the keycloak database user
** `KEYCLOAK_DB_PASSWORD`: The password to assign the keycloak database user

## Variants
There are two variants of this image.

### `postgres-os2mo:-`
Suitable for production.

### `postgres-os2mo:--test`
Suitable integration tests where:
* the generated user is upgraded to SUPERUSER and
* pgTAP is installed.