1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-31 13:47:02 +02:00

chore: comments in docker-compose file (#9812)

This commit is contained in:
Ivar Conradi Østhus 2025-04-22 13:21:22 +02:00 committed by GitHub
parent a22f5d0201
commit 60562ad0b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 14 deletions

View File

@ -1,6 +1,5 @@
# This docker compose setup configures: # This docker compose setup configures:
# - the Unleash server instance + the necessary backing Postgres database # - the Unleash server instance + the necessary backing Postgres database
# - the Unleash proxy
# #
# To learn more about all the parts of Unleash, visit # To learn more about all the parts of Unleash, visit
# https://docs.getunleash.io # https://docs.getunleash.io
@ -24,16 +23,11 @@ services:
environment: environment:
# This points Unleash to its backing database (defined in the `db` section below) # This points Unleash to its backing database (defined in the `db` section below)
DATABASE_URL: "postgres://postgres:unleash@db/db" DATABASE_URL: "postgres://postgres:unleash@db/db"
# Disable SSL for database connections. @chriswk: why do we do this?
DATABASE_SSL: "false" DATABASE_SSL: "false"
# Changing log levels: # Changing log levels:
LOG_LEVEL: "warn" LOG_LEVEL: "warn"
# Proxy clients must use one of these keys to connect to the
# Proxy. To add more keys, separate them with a comma (`key1,key2`).
INIT_FRONTEND_API_TOKENS: "default:development.unleash-insecure-frontend-api-token" INIT_FRONTEND_API_TOKENS: "default:development.unleash-insecure-frontend-api-token"
# Initialize Unleash with a default set of client API tokens. To # The default API token is insecure and should not be used in production.
# initialize Unleash with multiple tokens, separate them with a
# comma (`token1,token2`).
INIT_CLIENT_API_TOKENS: "default:development.unleash-insecure-api-token" INIT_CLIENT_API_TOKENS: "default:development.unleash-insecure-api-token"
depends_on: depends_on:
db: db:

View File

@ -1,6 +1,5 @@
# This docker compose setup configures: # This docker compose setup configures:
# - the Unleash server instance + the necessary backing Postgres database # - the Unleash server instance + the necessary backing Postgres database
# - the Unleash proxy
# #
# To learn more about all the parts of Unleash, visit # To learn more about all the parts of Unleash, visit
# https://docs.getunleash.io # https://docs.getunleash.io
@ -24,16 +23,12 @@ services:
environment: environment:
# This points Unleash to its backing database (defined in the `db` section below) # This points Unleash to its backing database (defined in the `db` section below)
DATABASE_URL: "postgres://postgres:unleash@db/db" DATABASE_URL: "postgres://postgres:unleash@db/db"
# Disable SSL for database connections. @chriswk: why do we do this? # Disable SSL for database connections.
DATABASE_SSL: "false" DATABASE_SSL: "false"
# Changing log levels: # Changing log levels:
LOG_LEVEL: "warn" LOG_LEVEL: "warn"
# Proxy clients must use one of these keys to connect to the
# Proxy. To add more keys, separate them with a comma (`key1,key2`).
INIT_FRONTEND_API_TOKENS: "default:development.unleash-insecure-frontend-api-token" INIT_FRONTEND_API_TOKENS: "default:development.unleash-insecure-frontend-api-token"
# Initialize Unleash with a default set of client API tokens. To # The default API token is insecure and should not be used in production.
# initialize Unleash with multiple tokens, separate them with a
# comma (`token1,token2`).
INIT_CLIENT_API_TOKENS: "default:development.unleash-insecure-api-token" INIT_CLIENT_API_TOKENS: "default:development.unleash-insecure-api-token"
depends_on: depends_on:
db: db: