Skip to content

Commit

Permalink
Add information that repo passwords should not be used.
Browse files Browse the repository at this point in the history
  • Loading branch information
f11h committed May 20, 2022
1 parent a1ff19b commit f5e60f0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ docker-compose build

### Start Local

**Attention: This Repository contains simple passwords as placeholder. Please be aware that these passwords should not
be used for production deployments of the gateway!**

In order to start the gateway on your local computer you have to follow these steps:

* Create TrustAnchor
Expand Down
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ services:
- 3306:3306
environment:
- MYSQL_DATABASE=dgc
- MYSQL_ROOT_PASSWORD=admin
- MYSQL_ROOT_PASSWORD=admin # do not use this for production deployments
- MYSQL_USER=dgc_adm
- MYSQL_PASSWORD=admin
- MYSQL_PASSWORD=admin # do not use this for production deployments
networks:
persistence:

Expand All @@ -25,12 +25,12 @@ services:
- SPRING_PROFILES_ACTIVE=mysql,docker
- SPRING_DATASOURCE_URL=jdbc:mysql://mysql:3306/dgc
- SPRING_DATASOURCE_USERNAME=dgc_adm
- SPRING_DATASOURCE_PASSWORD=admin
- SPRING_DATASOURCE_PASSWORD=admin # do not use this for production deployments
- DGC_TRUSTANCHOR_KEYSTOREPATH=/ec/prod/app/san/dgc/ta.jks
- DGC_TRUSTANCHOR_KEYSTOREPASS=dgcg-p4ssw0rd
- DGC_TRUSTANCHOR_KEYSTOREPASS=dgcg-p4ssw0rd # do not use this for production deployments
- DGC_TRUSTANCHOR_CERTIFICATEALIAS=dgcg_trust_anchor
- DGC_PUBLICATION_KEYSTORE_KEYSTOREPATH=/ec/prod/app/san/dgc/publication-signer-tst.jks
- DGC_PUBLICATION_KEYSTORE_KEYSTOREPASS=dgc-p4ssw0rd
- DGC_PUBLICATION_KEYSTORE_KEYSTOREPASS=dgc-p4ssw0rd # do not use this for production deployments
- DGC_PUBLICATION_KEYSTORE_CERTIFICATEALIAS=dgc_tst_publication
depends_on:
- mysql
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ spring:
datasource:
url: jdbc:mysql://localhost:3306/dgc
username: sa
password: sa
password: sa # do not use this for production deployments
driver-class-name: com.mysql.cj.jdbc.Driver
jndi-name: false
jpa:
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dgc:
downloadEnabled: false
keystore:
keyStorePath: /ec/prod/app/san/dgcg/dgc-publication.jks
keyStorePass: dgc-p4ssw0rd
keyStorePass: dgc-p4ssw0rd # do not use this for production deployments
certificateAlias: dgc_publication
url: https://example.org/asset-manager
amngr-uid: 00000000-0000-0000-0000-000000000000
Expand Down

0 comments on commit f5e60f0

Please sign in to comment.