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.
- Host: GitHub
- URL: https://github.com/magenta-aps/postgres-os2mo
- Owner: magenta-aps
- Created: 2022-12-08T14:26:14.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-02T12:11:44.000Z (almost 2 years ago)
- Last Synced: 2025-02-17T15:46:51.940Z (3 months ago)
- Topics: managed-by-atlantis, mirrored-repository
- Language: Shell
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Postgres OS2mo init containers
This repository contains Postgres init containers, currently two init containers:
* MOX
* KeycloakFor 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.