diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..68eb88b --- /dev/null +++ b/.env.example @@ -0,0 +1,3 @@ +transportLibrary__baseUrl= +transportLibrary__platformClientId= +transportLibrary__platformClientSecret= \ No newline at end of file diff --git a/.gitignore b/.gitignore index cd4e01d..62c2723 100755 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ node_modules dist build - -config/connector-*.json \ No newline at end of file +.env diff --git a/docker-compose.debug.demo.yml b/docker-compose.debug.demo.yml index bc906c1..23c7839 100644 --- a/docker-compose.debug.demo.yml +++ b/docker-compose.debug.demo.yml @@ -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: diff --git a/docker-compose.debug.school.yml b/docker-compose.debug.school.yml index 0de1380..79f1554 100644 --- a/docker-compose.debug.school.yml +++ b/docker-compose.debug.school.yml @@ -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: diff --git a/docker-compose.debug.university.yml b/docker-compose.debug.university.yml index 00feee4..9e0fa59 100644 --- a/docker-compose.debug.university.yml +++ b/docker-compose.debug.university.yml @@ -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: diff --git a/docker-compose.yml b/docker-compose.yml index 2177119..110e05c 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: @@ -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: @@ -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: