Skip to content

Commit 4770b0e

Browse files
graylikemeclaude
andcommitted
infra: switch primary domain from battletech.su to battledroids.ru
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent aff60b2 commit 4770b0e

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ PORT=8080
33
ALLOWED_ORIGINS=http://localhost:3000,https://yourdomain.com
44
EXPECTED_SCHEMA_VERSION=1
55
RUST_LOG=info
6-
PUBLIC_BASE_URL=https://api.battletech.su
6+
PUBLIC_BASE_URL=https://api.battledroids.ru

infra/k8s/api.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
- name: RUST_LOG
3636
value: "info"
3737
- name: PUBLIC_BASE_URL
38-
value: "https://api.battletech.su"
38+
value: "https://api.battledroids.ru"
3939
livenessProbe:
4040
httpGet:
4141
path: /health
@@ -81,10 +81,10 @@ spec:
8181
ingressClassName: nginx
8282
tls:
8383
- hosts:
84-
- api.battletech.su
85-
secretName: api-battletech-su-tls
84+
- api.battledroids.ru
85+
secretName: api-battledroids-ru-tls
8686
rules:
87-
- host: api.battletech.su
87+
- host: api.battledroids.ru
8888
http:
8989
paths:
9090
- path: /

infra/terraform.tfvars.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ db_user = "battletech"
1919
db_password = "change-me-to-a-strong-password"
2020

2121
# DNS
22-
domain = "battletech.su"
22+
domain = "battledroids.ru"
2323
ingress_ip = "91.186.196.173" # K8s worker node external IP
2424

2525
# Application

infra/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ variable "db_password" {
7777
variable "domain" {
7878
description = "Root domain (DNS zone must already exist in TWC)"
7979
type = string
80-
default = "battletech.su"
80+
default = "battledroids.ru"
8181
}
8282

8383
variable "ingress_ip" {
@@ -88,7 +88,7 @@ variable "ingress_ip" {
8888
# --- Application ---
8989

9090
variable "api_image" {
91-
description = "Docker image for the BattleTech API"
91+
description = "Docker image for the Battledroids API"
9292
type = string
9393
default = "ghcr.io/graylikeme/battletech-api:latest"
9494
}

0 commit comments

Comments
 (0)