Add .env.example file and update docker-compose configurations for environment variables
Some checks failed
Deploy Development / deploy (push) Failing after 1m40s

This commit is contained in:
Frank John Begornia
2025-12-18 11:15:29 +08:00
parent 183d19848b
commit 7fb6a74a13
4 changed files with 56 additions and 21 deletions

23
.env.server.example Normal file
View File

@@ -0,0 +1,23 @@
# Server .env file for Development Environment
#
# Instructions:
# 1. SSH to your server: ssh webmaster@YOUR_SERVER_IP
# 2. Create directory: mkdir -p /var/www/merchbay_admin_dev
# 3. Create this file: nano /var/www/merchbay_admin_dev/.env
# 4. Copy the content below (fill in YOUR_DB_PASSWORD)
# 5. Save and secure: chmod 600 /var/www/merchbay_admin_dev/.env
APP_ENV=development
APP_DEBUG=true
APP_URL=https://dev-admin.merchbay.app
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=merchcbay_db
DB_USERNAME=crewapp
DB_PASSWORD=YOUR_DB_PASSWORD_HERE
DOMAIN=dev-admin.merchbay.app
# Notes:
# - DB_HOST=mysql (your MySQL container name on crew-app-net network)
# - Replace YOUR_DB_PASSWORD_HERE with your actual MySQL password
# - This file should NEVER be committed to git