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
Docs | |
1. Create a virtual host using your subdomain and configure it to point to port 8080. | |
2. Make sure to apply SSL certificates using Certbot. | |
3. Configure the Docker Compose file according to the provided instructions. | |
4. Congratulations! Your GTM server is now up and running. | |
5. Verify the setup by visiting: `https://preview.example.com/healthz`. |
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 | |
# Script to add or update environment variables in Laravel .env files | |
# Usage: ./env_updater.sh [webapps_directory] [env_key] [env_value] | |
WEBAPPS_DIR=${1:-"webapps"} | |
ENV_KEY=$2 | |
ENV_VALUE=$3 | |
# Check if required parameters are provided |