## Purpose Make self hosting of Docs easier with an example of a deployment procedure with docker compose and document how to configure Docs. While https://github.com/suitenumerique/docs/pull/583 propose an easy way to deploy Docs with docker and Make, here we describe more in details the various steps and requirements to deploy Docs. ## Proposal - [x] example to deploy and configure keycloak - [x] example to deploy and configure minio - [x] example to configure proxy and certs - [x] example to deploy and configure Docs ## Improvements - [x] Rephrase description of environment variables and categorize - [x] Use template for nginx conf Fixes https://github.com/suitenumerique/docs/issues/561 Supersedes https://github.com/suitenumerique/docs/pull/583 A one liner quick start could be a nice addition: - [ ] merge all services in a single compose - [ ] scripts to generate secrets Signed-off-by: unteem <timothee@indie.host>
13 lines
353 B
Plaintext
13 lines
353 B
Plaintext
# Postgresql db container configuration
|
|
POSTGRES_DB=keycloak
|
|
POSTGRES_USER=keycloak
|
|
POSTGRES_PASSWORD=<generate postgres password>
|
|
PGDATA=/var/lib/postgresql/data/pgdata
|
|
|
|
# Keycloak postgresql configuration
|
|
KC_DB=postgres
|
|
KC_DB_SCHEMA=public
|
|
KC_DB_HOST=postgresql
|
|
KC_DB_NAME=${POSTGRES_DB}
|
|
KC_DB_USER=${POSTGRES_USER}
|
|
KC_DB_PASSWORD=${POSTGRES_PASSWORD} |