forgejo-deployment/README.md
Daisuke 46ec47aa2d Add explicit Forgejo deployment structure with artifact build pipeline
- Introduce clear directory separation for docker, infra, ci, and config
- Add CloudFormation pipeline for S3 → CodeBuild → ECR
- Implement explicit artifact build script for flat deployment zip
- Provide example runtime configuration and ignore secrets
2025-12-30 16:37:09 +09:00

30 lines
762 B
Markdown

## Purpose
This repository contains deployment sources for running Forgejo on AWS ECS.
Infrastructure is managed using CloudFormation, and application artifacts are
built explicitly for use in CI/CD pipelines.
## Structure
- docker/
Container definition for Forgejo (Dockerfile and entrypoint)
- config/
Runtime configuration templates
(actual configuration is injected at runtime)
- ci/
CI/CD definitions (e.g. AWS CodeBuild buildspec)
- infra/
Infrastructure as Code (CloudFormation templates)
- artifacts/
Build artifacts used as inputs for deployment pipelines
- scripts/
Helper scripts for building deployment artifacts
## Artifact Build
Deployment artifacts are built explicitly using a helper script.
```sh
scripts/build-artifact.sh