fix: testing with git1

This commit is contained in:
Max Hutz
2024-08-13 01:16:49 -04:00
parent 2adab4933d
commit 71466edf60
3 changed files with 6 additions and 6 deletions

View File

@@ -24,10 +24,10 @@ SSH_LISTEN_PORT = 2222
BUILTIN_SSH_SERVER_USER = git
LFS_START_SERVER = true
OFFLINE_MODE = true
SSH_DOMAIN = code.maximhutz.com
DOMAIN = code.maximhutz.com
SSH_DOMAIN = git1.maximhutz.com
DOMAIN = git1.maximhutz.com
HTTP_PORT = 443
ROOT_URL = https://code.maximhutz.com/
ROOT_URL = https://git1.maximhutz.com/
PROTOCOL = https
ENABLE_ACME = true
ACME_ACCEPTTOS = true

View File

@@ -18,7 +18,7 @@ git archive --format tar.gz -o archive.tar.gz HEAD
# SSH into it and copy needed files.
ssh-add - <<< "$AWS_SSH_PEM"
scp -O -ro StrictHostKeyChecking=no archive.tar.gz ec2-user@code.maximhutz.com:~/archive.tar.gz
scp -O -ro StrictHostKeyChecking=no archive.tar.gz ec2-user@git1.maximhutz.com:~/archive.tar.gz
# Run.
ssh -o StrictHostKeyChecking=no ec2-user@code.maximhutz.com < scripts/start.sh
ssh -o StrictHostKeyChecking=no ec2-user@git1.maximhutz.com < scripts/start.sh

View File

@@ -1,6 +1,6 @@
locals {
domain = "maximhutz.com"
subdomain = "code"
subdomain = "git1"
instance_name = "codebase-main"
ssh_key_name = "codebase-main-key"
ssh_key_parameter = "/codebase/main"