Deploy with an agent
Copy agent prompt
Before you start
Connect your AWS account using the Spring Winter quickstart. You need postgreSQL plus durable repository and application files. Check the upstream deployment instructions and pin a release before you deploy. Source repository.Create and connect the database
- Create a private SQL database with PostgreSQL. If you already have a database for this deployment, verify that the engine and version match the pinned app release. Wait for the database to be ready.
- Open Connect on the database. Use the writer endpoint, port, database name and application credentials. Create the application database and role if needed. Confirm that the application and migration process can reach the private writer.
- Set
GITEA__database__DB_TYPE=postgresand configureHOST,NAME,USERandPASSWDunder the sameGITEA__database__prefix. Confirm the persistent host can reach the private writer. Put secret values in runtime configuration or the migration process’s secret store. - Start Gitea after attaching durable storage. Finish the initial setup and verify an HTTPS push and clone.
Configure the deployment
- Select a Spring Winter project in the AWS Region you want to use. Confirm where persistent or non-HTTP components will run before creating resources.
- Use the upstream Docker image on port 3000 and set the server ROOT_URL to the public HTTPS URL.
- Use HTTPS for Git operations.
- The standard image stores repositories and other state under /data.
- Select a host that provides the required durable filesystem before moving real repositories.