deploy using openfront user instead of root

This commit is contained in:
Evan
2025-04-17 14:00:25 -07:00
parent 79a19dd666
commit a0edae88f2
4 changed files with 103 additions and 52 deletions
+18 -12
View File
@@ -1,14 +1,20 @@
# AWS Configuration
AWS_REGION=region-name
AWS_ACCOUNT_ID=your-account-id
# Server Configuration
SERVER_HOST_STAGING=xxx.xxx.xx.xxx
SERVER_HOST_EU=xxx.xxx.xxx.xxx
SERVER_HOST_US=x.xxx.xxx.xxx
SSH_KEY_STAGING=~/.ssh/your-staging-key
SSH_KEY_PROD=~/.ssh/your-prod-key
# ECR (Elastic Container Registry)
ECR_REPO_NAME=your-repo-name
# Docker Configuration
DOCKER_USERNAME=username
DOCKER_REPO_PROD=your-prod-repo
DOCKER_REPO_STAGING=your-staging-repo
DOCKER_TOKEN=your_docker_token
# EC2 Deployment Hosts
EC2_HOST_STAGING=ec2-user@your-staging-ip
EC2_HOST_PROD=ec2-user@your-production-ip
EC2_KEY=~/.ssh/your-key-file.pem
# Application Secrets
ADMIN_TOKEN=your-admin-token
# Admin credentials
ADMIN_TOKEN=your_admin_token
R2_ACCESS_KEY=your_r2_access_key
R2_SECRET_KEY=your_r2_secret_key
R2_ACCOUNT_ID=your_r2_account_id
R2_PROD_BUCKET=your-prod-bucket
R2_STAGING_BUCKET=your-staging-bucket