fix: testing with git1
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user