Skip to content

Commit e6873dc

Browse files
authored
Merge pull request #306 from code0-tech/renovate/cygnus-ghcr.io-code0-tech-cygnus-0.x
Update ghcr.io/code0-tech/cygnus Docker tag to v1403
2 parents 50bba26 + fab87ef commit e6873dc

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

modules/docker/cygnus/cygnus.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
data "docker_registry_image" "cygnus" {
2-
name = "ghcr.io/code0-tech/cygnus:1394"
2+
name = "ghcr.io/code0-tech/cygnus:1403"
33
}
44

55
resource "docker_image" "cygnus" {
@@ -29,6 +29,7 @@ locals {
2929
"DATABASE_URL=postgresql://cygnus:${random_password.db.result}@${docker_container.postgres.hostname}:5432/payload",
3030
"HOSTNAME=0.0.0.0",
3131
"NEXT_PUBLIC_GA_MEASUREMENT_ID=${sensitive(data.gitlab_project_variable.ga_measurement_id.value)}",
32+
"NEXT_PUBLIC_APP_URL=${var.web_urls[0]}",
3233

3334
# Proxy
3435
"VIRTUAL_HOST=${join(",", var.web_urls)}"

system/administration/main.tf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ module "proxy" {
3030

3131
certificate_hostnames = [
3232
"outline.code0.tech",
33-
"code0.tech",
3433
"codezero.build"
3534
]
3635
}
@@ -45,7 +44,7 @@ module "outline" {
4544
module "cygnus" {
4645
source = "../../modules/docker/cygnus"
4746

48-
web_urls = ["code0.tech", "codezero.build"]
47+
web_urls = ["codezero.build"]
4948
docker_proxy_network_id = module.proxy.docker_proxy_network_id
5049
}
5150

@@ -66,7 +65,6 @@ resource "cloudflare_dns_record" "server_ip" {
6665

6766
resource "cloudflare_dns_record" "server_cname_code0_tech" {
6867
for_each = toset([
69-
"code0.tech",
7068
"outline.code0.tech",
7169
])
7270

0 commit comments

Comments
 (0)