add and fix a lot of services
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
# documentation: https://docs.getunleash.io
|
||||
# slogan: Unleash: Open source feature flag management for enterprises
|
||||
# slogan: Open source feature flag management for enterprises.
|
||||
# tags: unleash,feature flags,feature toggles,ab testing,open source
|
||||
# logo: svgs/unleash.svg
|
||||
# port: 4242
|
||||
|
||||
services:
|
||||
unleash:
|
||||
image: 'unleashorg/unleash-server:latest'
|
||||
image: "unleashorg/unleash-server:latest"
|
||||
environment:
|
||||
- SERVICE_FQDN_UNLEASH_4242
|
||||
- UNLEASH_URL=${SERVICE_FQDN_UNLEASH}
|
||||
- 'DATABASE_URL=postgres://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgres/db'
|
||||
- UNLEASH_DEFAULT_ADMIN_PASSWORD=${SERVICE_PASSWORD_UNLEASH}
|
||||
- "DATABASE_URL=postgres://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgres/db"
|
||||
- DATABASE_SSL=false
|
||||
- LOG_LEVEL=warn
|
||||
- INIT_FRONTEND_API_TOKENS=default:default:development.unleash-insecure-frontend-api-token
|
||||
@@ -22,7 +23,7 @@ services:
|
||||
- node
|
||||
- index.js
|
||||
healthcheck:
|
||||
test: 'wget --no-verbose --tries=1 --spider http://localhost:4242/health || exit 1'
|
||||
test: "wget --no-verbose --tries=1 --spider http://localhost:4242/health || exit 1"
|
||||
interval: 1s
|
||||
timeout: 1m
|
||||
retries: 5
|
||||
@@ -39,10 +40,10 @@ services:
|
||||
test:
|
||||
- CMD
|
||||
- pg_isready
|
||||
- '--username=$SERVICE_USER_POSTGRES'
|
||||
- '--host=127.0.0.1'
|
||||
- '--port=5432'
|
||||
- '--dbname=db'
|
||||
- "--username=$SERVICE_USER_POSTGRES"
|
||||
- "--host=127.0.0.1"
|
||||
- "--port=5432"
|
||||
- "--dbname=db"
|
||||
interval: 2s
|
||||
timeout: 1m
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user