This file contains hidden or 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
| license: mit |
This file contains hidden or 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
| license: mit |
This file contains hidden or 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
| apiVersion: v1 | |
| kind: DeploymentConfig | |
| metadata: | |
| labels: | |
| app: ${NAME} | |
| name: ${NAME} | |
| spec: | |
| replicas: 1 | |
| selector: | |
| app: ${NAME} |
This file contains hidden or 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
| apiVersion: v1 | |
| kind: Route | |
| metadata: | |
| name: ${NAME}-web-route | |
| spec: | |
| host: ${APP_URL} | |
| port: | |
| targetPort: 8080-tcp | |
| tls: | |
| insecureEdgeTerminationPolicy: Redirect |
This file contains hidden or 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
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| labels: | |
| app: ${NAME} | |
| name: ${NAME} | |
| spec: | |
| ports: | |
| - name: 8080-tcp | |
| port: 8080 |
This file contains hidden or 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
| parameters: | |
| - displayName: The App Name, used to name artifacts | |
| name: NAME | |
| required: true | |
| value: my-laravel-app | |
| - displayName: The ImageStream to deploy | |
| name: APP_IMAGE_NAME | |
| required: true | |
| value: laravel-starter-kit | |
| - displayName: The ImageStream tag to deploy. |
This file contains hidden or 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
| apiVersion: v1 | |
| data: | |
| db_password: "bXlfZGJfcGFzc3dvcmQ=" | |
| laravel_app_key: "YmFzZTY0Om5mYkpydFJIZWJVZndMQTkwSWQxa0I2L0xZMXlDeDFzV0daS08zUGhkOGs9" | |
| kind: Secret | |
| metadata: | |
| name: my-laravel-app-secrets | |
| type: Opaque |
This file contains hidden or 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
| FROM centos/nodejs-6-centos7 | |
| # Add builder scripts | |
| COPY bin/ $STI_SCRIPTS_PATH/ | |
| USER root | |
| # Set sensible home directory | |
| RUN usermod -d /opt/app-root default |
This file contains hidden or 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
| #!/bin/bash -e | |
| if [[ "$1" == "-h" ]]; then | |
| exec $STI_SCRIPTS_PATH/usage | |
| fi | |
| shopt -s dotglob | |
| echo "---> Copying application source..." | |
| mv /tmp/src/* ./ |
This file contains hidden or 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
| #!/bin/bash -e | |
| source ${PHP_CONTAINER_SCRIPTS_PATH}/common.sh | |
| shopt -s dotglob | |
| # Restore build artifacts for runtime usage | |
| echo "---> Restoring build artifacts..." | |
| tar -zxf laravel.tgz && rm -f laravel.tgz |
OlderNewer