Skip to content

Commit

Permalink
chore: use env file
Browse files Browse the repository at this point in the history
  • Loading branch information
nmshd committed May 10, 2024
1 parent 92eff81 commit a9cebdc
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
transportLibrary__baseUrl=
transportLibrary__platformClientId=
transportLibrary__platformClientSecret=
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
node_modules
dist
build

config/connector-*.json
.env
7 changes: 5 additions & 2 deletions docker-compose.debug.demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ services:
container_name: connector-demo
image: ghcr.io/nmshd/connector:3.10.1
environment:
CUSTOM_CONFIG_LOCATION: "/config.json"
logging__appenders__console__level: "TRACE"
- CUSTOM_CONFIG_LOCATION=/config.json
- logging__appenders__console__level=TRACE
- transportLibrary__baseUrl
- transportLibrary__platformClientId
- transportLibrary__platformClientSecret
ports:
- 8012:80
volumes:
Expand Down
7 changes: 5 additions & 2 deletions docker-compose.debug.school.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ services:
container_name: connector-school
image: ghcr.io/nmshd/connector:3.10.1
environment:
CUSTOM_CONFIG_LOCATION: "/config.json"
logging__appenders__console__level: "TRACE"
- CUSTOM_CONFIG_LOCATION=/config.json
- logging__appenders__console__level=TRACE
- transportLibrary__baseUrl
- transportLibrary__platformClientId
- transportLibrary__platformClientSecret
ports:
- 8011:80
volumes:
Expand Down
6 changes: 5 additions & 1 deletion docker-compose.debug.university.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ services:
container_name: connector-university
image: ghcr.io/nmshd/connector:3.10.1
environment:
CUSTOM_CONFIG_LOCATION: "/config.json"
- CUSTOM_CONFIG_LOCATION=/config.json
- logging__appenders__console__level=TRACE
- transportLibrary__baseUrl
- transportLibrary__platformClientId
- transportLibrary__platformClientSecret
ports:
- 8013:80
volumes:
Expand Down
15 changes: 12 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ services:
container_name: connector-demo
image: ghcr.io/nmshd/connector:3.10.1
environment:
CUSTOM_CONFIG_LOCATION: "/config.json"
- CUSTOM_CONFIG_LOCATION=/config.json
- transportLibrary__baseUrl
- transportLibrary__platformClientId
- transportLibrary__platformClientSecret
volumes:
- ./config/connector-demo-config.json:/config.json:ro
depends_on:
Expand All @@ -37,7 +40,10 @@ services:
container_name: connector-school
image: ghcr.io/nmshd/connector:3.10.1
environment:
CUSTOM_CONFIG_LOCATION: "/config.json"
- CUSTOM_CONFIG_LOCATION=/config.json
- transportLibrary__baseUrl
- transportLibrary__platformClientId
- transportLibrary__platformClientSecret
volumes:
- ./config/connector-school-config.json:/config.json:ro
depends_on:
Expand All @@ -58,7 +64,10 @@ services:
container_name: connector-university
image: ghcr.io/nmshd/connector:3.10.1
environment:
CUSTOM_CONFIG_LOCATION: "/config.json"
- CUSTOM_CONFIG_LOCATION=/config.json
- transportLibrary__baseUrl
- transportLibrary__platformClientId
- transportLibrary__platformClientSecret
volumes:
- ./config/connector-university-config.json:/config.json:ro
depends_on:
Expand Down

0 comments on commit a9cebdc

Please sign in to comment.