Skip to content

Commit

Permalink
Update search service env
Browse files Browse the repository at this point in the history
  • Loading branch information
Intevation Common Account authored and Intevation Common Account committed Aug 7, 2023
1 parent 73efa2c commit 75eb53c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
13 changes: 3 additions & 10 deletions pkg/config/default-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,9 @@ defaultEnvironment:
AUTH_HOST: auth
AUTH_PORT: 9004

SECRETS_PATH: /run/secrets

OPENSLIDES_DB_HOST: postgres
OPENSLIDES_DB_USER: openslides
OPENSLIDES_DB_PASSWORD: secret:postgres_password
OPENSLIDES_DB: openslides

SEARCH_SERVICE_HOST: search
OPENSLIDES_SEARCH_PORT: 9050
OPENSLIDES_RESTRICTER: http://autoupdate:9012/internal/autoupdate/restrict_fqids
SEARCH_HOST: search
SEARCH_PORT: 9050
RESTRICTER_URL: http://autoupdate:9012/internal/autoupdate

VOTE_HOST: vote
VOTE_PORT: 9013
Expand Down
11 changes: 3 additions & 8 deletions pkg/setup/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,18 +501,13 @@ x-default-environment: &default-environment
MEDIA_PORT: "9006"
MESSAGE_BUS_HOST: redis
MESSAGE_BUS_PORT: "6379"
OPENSLIDES_DB: openslides
OPENSLIDES_DB_HOST: postgres
OPENSLIDES_DB_PASSWORD: secret:postgres_password
OPENSLIDES_DB_USER: openslides
OPENSLIDES_DEVELOPMENT: "false"
OPENSLIDES_LOGLEVEL: info
OPENSLIDES_RESTRICTER: http://autoupdate:9012/internal/autoupdate/restrict_fqids
OPENSLIDES_SEARCH_PORT: "9050"
PRESENTER_HOST: backendPresenter
PRESENTER_PORT: "9003"
SEARCH_SERVICE_HOST: search
SECRETS_PATH: /run/secrets
RESTRICTER_URL: http://autoupdate:9012/internal/autoupdate
SEARCH_HOST: search
SEARCH_PORT: "9050"
SUPERADMIN_PASSWORD_FILE: /run/secrets/superadmin
SYSTEM_URL: localhost:8000
VOTE_DATABASE_HOST: postgres
Expand Down

0 comments on commit 75eb53c

Please sign in to comment.