Added environment example boilerplate.
This commit is contained in:
parent
5b82bf9390
commit
a69c697b24
2 changed files with 15 additions and 0 deletions
14
.env.example
Normal file
14
.env.example
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
# .env.example
|
||||||
|
|
||||||
|
# --- PLEASE FILL THIS OUT WITH THE SECURELY PROVIDED CREDENTIALS ---
|
||||||
|
|
||||||
|
# Application Database Credentials
|
||||||
|
MYSQL_DATABASE=astra
|
||||||
|
MYSQL_USER=astraadmin
|
||||||
|
MYSQL_PASSWORD=
|
||||||
|
|
||||||
|
# MySQL Container Root Password (for first-time setup only, not used by the app)
|
||||||
|
MYSQL_ROOT_PASSWORD=
|
||||||
|
|
||||||
|
# API Keys
|
||||||
|
GEMINI_API_KEY=
|
||||||
1
.github/workflows/build-and-deploy.yml
vendored
1
.github/workflows/build-and-deploy.yml
vendored
|
|
@ -84,6 +84,7 @@ jobs:
|
||||||
export MYSQL_DATABASE='${{ secrets.MYSQL_DATABASE }}'
|
export MYSQL_DATABASE='${{ secrets.MYSQL_DATABASE }}'
|
||||||
export MYSQL_USER='${{ secrets.MYSQL_USER }}'
|
export MYSQL_USER='${{ secrets.MYSQL_USER }}'
|
||||||
export MYSQL_PASSWORD='${{ secrets.MYSQL_PASSWORD }}'
|
export MYSQL_PASSWORD='${{ secrets.MYSQL_PASSWORD }}'
|
||||||
|
export MYSQL_ROOT_PASSWORD='${{ secrets.MYSQL_ROOT_PASSWORD }}'
|
||||||
|
|
||||||
# Set the image tag to the specific commit SHA for a precise deployment
|
# Set the image tag to the specific commit SHA for a precise deployment
|
||||||
export IMAGE_TAG=${{ github.sha }}
|
export IMAGE_TAG=${{ github.sha }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue