File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11data "docker_registry_image" "cygnus" {
2- name = " ghcr.io/code0-tech/cygnus:1394 "
2+ name = " ghcr.io/code0-tech/cygnus:1403 "
33}
44
55resource "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 )} "
Original file line number Diff line number Diff 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" {
4544module "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
6766resource "cloudflare_dns_record" "server_cname_code0_tech" {
6867 for_each = toset ([
69- " code0.tech" ,
7068 " outline.code0.tech" ,
7169 ])
7270
You can’t perform that action at this time.
0 commit comments