2024-04-14 15:30:29 +00:00
|
|
|
# documentation: https://docs.getunleash.io
|
2024-04-16 10:42:12 +00:00
|
|
|
# slogan: Open source feature flag management for enterprises.
|
2024-04-14 15:30:29 +00:00
|
|
|
# tags: unleash,feature flags,feature toggles,ab testing,open source
|
|
|
|
# logo: svgs/unleash.svg
|
|
|
|
# port: 4242
|
|
|
|
|
|
|
|
services:
|
|
|
|
unleash:
|
|
|
|
image: 'unleashorg/unleash-server:latest'
|
|
|
|
environment:
|
|
|
|
- SERVICE_FQDN_UNLEASH_4242
|
|
|
|
- UNLEASH_URL=${SERVICE_FQDN_UNLEASH}
|
2024-04-16 10:42:12 +00:00
|
|
|
- UNLEASH_DEFAULT_ADMIN_PASSWORD=${SERVICE_PASSWORD_UNLEASH}
|
2024-04-14 15:30:29 +00:00
|
|
|
- DATABASE_URL=${DATABASE_URL}
|
|
|
|
- DATABASE_SSL=${DATABASE_SSL:-false}
|
|
|
|
- LOG_LEVEL=warn
|
|
|
|
- INIT_FRONTEND_API_TOKENS=default:default:development.unleash-insecure-frontend-api-token
|
|
|
|
- INIT_CLIENT_API_TOKENS=default:development.unleash-insecure-api-token
|
|
|
|
command:
|
|
|
|
- node
|
|
|
|
- index.js
|
|
|
|
healthcheck:
|
2024-05-17 08:11:55 +00:00
|
|
|
test: 'wget --no-verbose --tries=1 --spider http://127.0.0.1:4242/health || exit 1'
|
2024-04-14 15:30:29 +00:00
|
|
|
interval: 1s
|
|
|
|
timeout: 1m
|
|
|
|
retries: 5
|
2024-04-16 10:42:12 +00:00
|
|
|
start_period: 15s
|