diff --git a/.env.example b/.env.example index f93edc3..6bb5e2c 100644 --- a/.env.example +++ b/.env.example @@ -64,4 +64,4 @@ RATELIMIT_SKIP_TIMEOUT=False # Whether to skip rate limiting during c OPENSEARCH_ADMIN=admin -OPENSEARCH_PASSWORD=admin \ No newline at end of file +OPENSEARCH_PASSWORD=ThisIs4ü \ No newline at end of file diff --git a/.github/workflows/ci_assembly.yml b/.github/workflows/ci_assembly.yml index a72651f..f2ef673 100755 --- a/.github/workflows/ci_assembly.yml +++ b/.github/workflows/ci_assembly.yml @@ -53,6 +53,7 @@ jobs: cluster.name: my_opensearch_local http.port: 9200 plugins.security.ssl.http.enabled: false + OPENSEARCH_INITIAL_ADMIN_PASSWORD: ThisIs4ü options: >- --health-cmd "curl -f http://localhost:9200/_cluster/health || exit 1" --health-interval 10s @@ -171,7 +172,7 @@ jobs: SITE_ROOT: api CI_EXCLUDED_MODULE: ${{ vars.CI_EXCLUDED_MODULE }} OPENSEARCH_ADMIN: admin - OPENSEARCH_PASSWORD: admin + OPENSEARCH_PASSWORD: ThisIs4ü OPEN_SEARCH_HTTP_PORT: 9200 OPENSEARCH_HOST: opensearch OPENSEARCH_HOSTS: "http://opensearch:9200" @@ -203,7 +204,7 @@ jobs: #REMOTE_USER_AUTHENTICATION: False CI_EXCLUDED_MODULE: ${{ vars.CI_EXCLUDED_MODULE }} OPENSEARCH_ADMIN: admin - OPENSEARCH_PASSWORD: admin + OPENSEARCH_PASSWORD: ThisIs4ü OPEN_SEARCH_HTTP_PORT: 9200 OPENSEARCH_HOST: opensearch OPENSEARCH_HOSTS: "http://opensearch:9200" diff --git a/.github/workflows/ci_module.yml b/.github/workflows/ci_module.yml index 4cf2fa8..bc73bd0 100755 --- a/.github/workflows/ci_module.yml +++ b/.github/workflows/ci_module.yml @@ -133,6 +133,7 @@ jobs: cluster.name: my_opensearch_local http.port: 9200 plugins.security.ssl.http.enabled: false + OPENSEARCH_INITIAL_ADMIN_PASSWORD: ThisIs4ü mssql: image: mcr.microsoft.com/mssql/server:2017-latest @@ -239,7 +240,7 @@ jobs: CI_EXCLUDED_MODULE: ${{ vars.CI_EXCLUDED_MODULE }} MODE: DEV OPENSEARCH_ADMIN: admin - OPENSEARCH_PASSWORD: admin + OPENSEARCH_PASSWORD: ThisIs4ü ci_module_psql_test_module_only: name: Run Module Tests (PSQL) runs-on: ubuntu-20.04 @@ -254,6 +255,7 @@ jobs: cluster.name: my_opensearch_local http.port: 9200 plugins.security.ssl.http.enabled: false + OPENSEARCH_INITIAL_ADMIN_PASSWORD: ThisIs4ü pgsql: @@ -356,7 +358,7 @@ jobs: CI_EXCLUDED_MODULE: ${{ vars.CI_EXCLUDED_MODULE }} MODE: DEV OPENSEARCH_ADMIN: admin - OPENSEARCH_PASSWORD: admin + OPENSEARCH_PASSWORD: ThisIs4ü OPEN_SEARCH_HTTP_PORT: 9200 OPENSEARCH_HOST: opensearch OPENSEARCH_HOSTS: "http://opensearch:9200" @@ -374,6 +376,7 @@ jobs: cluster.name: my_opensearch_local http.port: 9200 plugins.security.ssl.http.enabled: false + OPENSEARCH_INITIAL_ADMIN_PASSWORD: ThisIs4ü pgsql: @@ -475,7 +478,7 @@ jobs: CI_EXCLUDED_MODULE: ${{ vars.CI_EXCLUDED_MODULE }} MODE: DEV OPENSEARCH_ADMIN: admin - OPENSEARCH_PASSWORD: admin + OPENSEARCH_PASSWORD: ThisIs4ü OPEN_SEARCH_HTTP_PORT: 9200 OPENSEARCH_HOST: opensearch OPENSEARCH_HOSTS: "http://opensearch:9200" diff --git a/docker-compose.yml b/docker-compose.yml index 2a6e70d..61e70c0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -51,6 +51,7 @@ services: - "http.port=${OPEN_SEARCH_HTTP_PORT:-9200}" - "plugins.security.ssl.http.enabled=${SLL_HTTP_ENABLED:-false}" - "plugins.security.disabled=true" + - "OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_PASSWORD}" volumes: - "opensearch-data1:/usr/share/opensearch/data"