-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SC-6257: Gateway and BackOffice application (#193)
* SC-6257: Gateway application * SC-6257: Rename newly introduced enpoints * Update index.php * Remove session from gateway * SC-5500: Enpoints separation. Docs. Follow up (#210) * Add Backend-gateway application type * Update index.php
- Loading branch information
1 parent
1fce19f
commit a4296d5
Showing
27 changed files
with
362 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
generator/src/templates/application/backend-gateway.yml.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{{ applicationName | lower }}: | ||
image: ${SPRYKER_DOCKER_PREFIX}_run_app:${SPRYKER_DOCKER_TAG}-{{ applicationName | lower }} | ||
depends_on: | ||
- database | ||
- broker | ||
- key_value_store | ||
- search | ||
networks: | ||
- private | ||
labels: | ||
'spryker.app.name': {{ applicationName }} | ||
'spryker.app.type': zed-gateway | ||
'spryker.project': ${SPRYKER_DOCKER_PREFIX}:${SPRYKER_DOCKER_TAG} | ||
env_file: | ||
- ${DEPLOYMENT_PATH}/env/{{ applicationName }}.env | ||
environment: | ||
SPRYKER_TESTING_ENABLED: ${SPRYKER_TESTING_ENABLE} | ||
SPRYKER_XDEBUG_HOST_IP: ${SPRYKER_XDEBUG_HOST_IP} | ||
TIDEWAYS_APIKEY: ${TIDEWAYS_APIKEY} | ||
TIDEWAYS_CLI_ENABLED: ${TIDEWAYS_CLI_ENABLED} | ||
TIDEWAYS_ENVIRONMENT_NAME: ${TIDEWAYS_ENVIRONMENT_NAME} | ||
<<: *app-volumes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{{ applicationName | lower }}: | ||
image: ${SPRYKER_DOCKER_PREFIX}_run_app:${SPRYKER_DOCKER_TAG}-{{ applicationName | lower }} | ||
depends_on: | ||
- database | ||
- broker | ||
- key_value_store | ||
- session | ||
- search | ||
networks: | ||
- private | ||
labels: | ||
'spryker.app.name': {{ applicationName }} | ||
'spryker.app.type': zed-backoffice | ||
'spryker.project': ${SPRYKER_DOCKER_PREFIX}:${SPRYKER_DOCKER_TAG} | ||
env_file: | ||
- ${DEPLOYMENT_PATH}/env/{{ applicationName }}.env | ||
environment: | ||
SPRYKER_TESTING_ENABLED: ${SPRYKER_TESTING_ENABLE} | ||
SPRYKER_XDEBUG_HOST_IP: ${SPRYKER_XDEBUG_HOST_IP} | ||
TIDEWAYS_APIKEY: ${TIDEWAYS_APIKEY} | ||
TIDEWAYS_CLI_ENABLED: ${TIDEWAYS_CLI_ENABLED} | ||
TIDEWAYS_ENVIRONMENT_NAME: ${TIDEWAYS_ENVIRONMENT_NAME} | ||
<<: *app-volumes |
Oops, something went wrong.