forgeo runner

This commit is contained in:
vickytechkey 2026-08-09 07:34:58 +05:30
parent eefcf2cc5e
commit f978a4b2a6

View file

@ -34,9 +34,11 @@ export class AwsCdkStack extends cdk.Stack {
// Woodpecker CI (Port 8000 open to public; Nginx on EC2 handles path-based security)
securityGroup.addIngressRule(ec2.Peer.anyIpv4(), ec2.Port.tcp(8000), 'Allow Woodpecker Reverse Proxy');
// Forgejo Git Service (Port 3000 open to public)
securityGroup.addIngressRule(ec2.Peer.anyIpv4(), ec2.Port.tcp(3000), 'Allow Forgejo Web UI');
securityGroup.addIngressRule(ec2.Peer.anyIpv4(), ec2.Port.tcp(2222), 'Allow Forgejo SSH');
// Forgejo Git Service (Port 3000 and 2222 open to public IPv4 and IPv6)
securityGroup.addIngressRule(ec2.Peer.anyIpv4(), ec2.Port.tcp(3000), 'Allow Forgejo Web UI IPv4');
securityGroup.addIngressRule(ec2.Peer.anyIpv6(), ec2.Port.tcp(3000), 'Allow Forgejo Web UI IPv6');
securityGroup.addIngressRule(ec2.Peer.anyIpv4(), ec2.Port.tcp(2222), 'Allow Forgejo SSH IPv4');
securityGroup.addIngressRule(ec2.Peer.anyIpv6(), ec2.Port.tcp(2222), 'Allow Forgejo SSH IPv6');
// Django App Backends (Prod and Beta)
securityGroup.addIngressRule(ec2.Peer.ipv4('16.113.57.0/24'), ec2.Port.tcp(8080), 'Allow Django Beta Backend');