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
# Registry Credentials | |
export REGISTRY_URL=registry.gitlab.com | |
export REGISTRY_USER=XXX | |
export REGISTRY_PASS=XXX # You can also use your Gitlab token here as the password | |
# Registry Settings | |
export IMAGE_VERSION=v0.0.1 | |
export IMAGE_URL=registry.gitlab.com/laravel-in-kubernetes/laravel-app | |
# Login to Docker Registry |
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
# Local .terraform directories | |
**/.terraform/* | |
# .tfstate files | |
*.tfstate | |
*.tfstate.* | |
# Crash log files | |
crash.log |
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
/vendor | |
/node_modules |
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
export APP_PORT=8080 | |
# Create a directory to store application | |
mkdir -p laravel-in-kubernetes-tutorial | |
cd laravel-in-kubernetes-tutorial | |
# Create Laravel application | |
curl -s "https://laravel.build/laravel-in-kubernetes?with=mysql,redis" | bash | |
cd laravel-in-kubernetes |