@@ -29,7 +29,7 @@ def __init__(
29
29
database_subnet_id : Input [str ],
30
30
dns_server_ip : Input [str ],
31
31
dockerhub_credentials : DockerHubCredentials ,
32
- external_git_mirror : Input [bool ],
32
+ gitea_server : Input [str ],
33
33
ldap_server_hostname : Input [str ],
34
34
ldap_server_port : Input [int ],
35
35
ldap_username_attribute : Input [str ],
@@ -50,7 +50,7 @@ def __init__(
50
50
)
51
51
self .dns_server_ip = dns_server_ip
52
52
self .dockerhub_credentials = dockerhub_credentials
53
- self .external_git_mirror = external_git_mirror
53
+ self .gitea_server = gitea_server
54
54
self .ldap_server_hostname = ldap_server_hostname
55
55
self .ldap_server_port = ldap_server_port
56
56
self .ldap_username_attribute = ldap_username_attribute
@@ -184,10 +184,10 @@ def __init__(
184
184
tags = child_tags ,
185
185
)
186
186
187
- # Define the container group with guacd, guacamole and caddy
187
+ # Define the container group with gitea and caddy
188
188
container_group = containerinstance .ContainerGroup (
189
189
f"{ self ._name } _container_group" ,
190
- container_group_name = f"{ stack_name } -container-group-gitea-{ self . props .gitea_server } " ,
190
+ container_group_name = f"{ stack_name } -container-group-gitea-{ props .gitea_server } " ,
191
191
containers = [
192
192
containerinstance .ContainerArgs (
193
193
image = "caddy:2.8.4" ,
@@ -343,7 +343,7 @@ def __init__(
343
343
LocalDnsRecordProps (
344
344
base_fqdn = props .sre_fqdn ,
345
345
private_ip_address = get_ip_address_from_container_group (container_group ),
346
- record_name = " gitea" ,
346
+ record_name = f" { props . gitea_server } - gitea" ,
347
347
resource_group_name = props .resource_group_name ,
348
348
),
349
349
opts = ResourceOptions .merge (
0 commit comments