Skip to content

Commit

Permalink
Update hosting docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
lwih committed Mar 19, 2024
1 parent f8c9f73 commit ffcd9a1
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,33 @@ services:
interval: 1s
timeout: 1s
retries: 30
# networks:
# backend_network:

unleash_proxy:
image: unleashorg/unleash-proxy:v1.1.1
ports:
- "3000:3000"
environment:
# Proxy clients must use one of these keys to connect to the
# Proxy. To add more keys, separate them with a comma (`key1,key2`).
# UNLEASH_PROXY_CLIENT_KEYS: "randomkey"
UNLEASH_PROXY_SECRETS: "randomkey"
UNLEASH_APP_NAME: "local"
# This points the Proxy to the Unleash server API
UNLEASH_URL: "https://gitlab.com/api/v4/feature_flags/unleash/55951570"
UNLEASH_INSTANCE_ID: "glffct-ceHLxPcFMqyXsyGPXSkx"
# This is the API token that the Proxy uses to communicate with
# the Unleash server.
UNLEASH_API_TOKEN: "glpat-6f7PUWe9PwRoa53LUmsZ"
ENABLE_ALL_ENDPOINT: true
LOG_LEVEL: "debug"
# depends_on:
# - web
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:3000/proxy/health || exit 1
interval: 1s
timeout: 1m
retries: 5

volumes:
db:
name: rapportnavdb
Expand Down

0 comments on commit ffcd9a1

Please sign in to comment.