Skip to content

Commit

Permalink
fix: externalize the basic auth user credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
yasinmiran committed Dec 6, 2024
1 parent 0ee4ce6 commit 64245ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions e2eTests/docker-compose.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ services:
- TSD_HOST=<<PROXY_TSD_HOST>>
- TSD_ACCESS_KEY=<<PROXY_TSD_ACCESS_KEY>>
- POSTGRES_PASSWORD=<<PROXY_POSTGRES_PASSWORD>>
- ADMIN_USER=admin
- ADMIN_PASSWORD=aDm!n_01x.
volumes:
- <<TMP_CERTS_DIR>>/proxy/CA.cert:/etc/ega/ssl/CA.cert
- <<TMP_CERTS_DIR>>/proxy/server.cert:/etc/ega/ssl/server.cert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ spring:

security:
user:
name: ${ADMIN_USER:admin} # Default user if not provided
password: ${ADMIN_PASSWORD:admin123} # Default password if not provided
roles: ${ADMIN_ROLE:ADMIN} # Default role if not provided
name: ${ADMIN_USER}
password: ${ADMIN_PASSWORD}

elixir:
client:
Expand Down

0 comments on commit 64245ee

Please sign in to comment.