Initialize project from default template
This commit is contained in:
commit
af27c583a5
32
.claude/CLAUDE.md
Normal file
32
.claude/CLAUDE.md
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# foundary-1770644471
|
||||||
|
|
||||||
|
Project deployed to qj7ckumy.threesix.ai via threesix.ai platform.
|
||||||
|
|
||||||
|
## Quick Start
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Clone
|
||||||
|
git clone https://git.threesix.ai/jordan/foundary-1770644471.git
|
||||||
|
cd foundary-1770644471
|
||||||
|
|
||||||
|
# Build
|
||||||
|
docker build -t foundary-1770644471 .
|
||||||
|
|
||||||
|
# Run
|
||||||
|
docker run -p 8080:8080 foundary-1770644471
|
||||||
|
```
|
||||||
|
|
||||||
|
## Deployment
|
||||||
|
|
||||||
|
Pushes to `main` trigger automatic deployment via Woodpecker CI:
|
||||||
|
1. Build Docker image
|
||||||
|
2. Push to registry (registry.threesix.ai)
|
||||||
|
3. Update Kubernetes deployment
|
||||||
|
|
||||||
|
Live at: https://qj7ckumy.threesix.ai
|
||||||
|
|
||||||
|
## Constraints
|
||||||
|
|
||||||
|
- Keep the Dockerfile optimized for build time
|
||||||
|
- Use multi-stage builds when possible
|
||||||
|
- All config via environment variables
|
||||||
23
.woodpecker.yml
Normal file
23
.woodpecker.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
steps:
|
||||||
|
docker:
|
||||||
|
image: woodpeckerci/plugin-kaniko
|
||||||
|
settings:
|
||||||
|
registry: registry.threesix.ai
|
||||||
|
repo: "foundary-1770644471"
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- ${CI_COMMIT_SHA:0:8}
|
||||||
|
cache: true
|
||||||
|
skip-tls-verify: true
|
||||||
|
failure: ignore
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
image: bitnami/kubectl:latest
|
||||||
|
commands:
|
||||||
|
- kubectl set image deployment/foundary-1770644471 foundary-1770644471=registry.threesix.ai/foundary-1770644471:${CI_COMMIT_SHA:0:8} -n projects
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
branch: main
|
||||||
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Default Dockerfile - replace with your application
|
||||||
|
FROM nginx:alpine
|
||||||
|
|
||||||
|
# Copy static files or your app
|
||||||
|
COPY . /usr/share/nginx/html/
|
||||||
|
|
||||||
|
EXPOSE 80
|
||||||
|
|
||||||
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
21
README.md
Normal file
21
README.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# foundary-1770644471
|
||||||
|
|
||||||
|
Deployed at: https://qj7ckumy.threesix.ai
|
||||||
|
|
||||||
|
## Getting Started
|
||||||
|
|
||||||
|
1. Clone the repository
|
||||||
|
2. Build with Docker: `docker build -t foundary-1770644471 .`
|
||||||
|
3. Run locally: `docker run -p 8080:8080 foundary-1770644471`
|
||||||
|
|
||||||
|
## CI/CD
|
||||||
|
|
||||||
|
This project uses Woodpecker CI for continuous deployment. Pushing to `main` will:
|
||||||
|
- Build a Docker image
|
||||||
|
- Push to the container registry
|
||||||
|
- Deploy to Kubernetes
|
||||||
|
|
||||||
|
## Resources
|
||||||
|
|
||||||
|
- Live site: https://qj7ckumy.threesix.ai
|
||||||
|
- Git repository: https://git.threesix.ai/jordan/foundary-1770644471.git
|
||||||
Loading…
Reference in New Issue
Block a user