Initialize project from default template
This commit is contained in:
commit
8928bd8225
32
.claude/CLAUDE.md
Normal file
32
.claude/CLAUDE.md
Normal file
@ -0,0 +1,32 @@
|
||||
# foundary-1770666514
|
||||
|
||||
Project deployed to ks9ftyd2.threesix.ai via threesix.ai platform.
|
||||
|
||||
## Quick Start
|
||||
|
||||
```bash
|
||||
# Clone
|
||||
git clone https://git.threesix.ai/jordan/foundary-1770666514.git
|
||||
cd foundary-1770666514
|
||||
|
||||
# Build
|
||||
docker build -t foundary-1770666514 .
|
||||
|
||||
# Run
|
||||
docker run -p 8080:8080 foundary-1770666514
|
||||
```
|
||||
|
||||
## 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://ks9ftyd2.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-1770666514"
|
||||
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-1770666514 foundary-1770666514=registry.threesix.ai/foundary-1770666514:${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-1770666514
|
||||
|
||||
Deployed at: https://ks9ftyd2.threesix.ai
|
||||
|
||||
## Getting Started
|
||||
|
||||
1. Clone the repository
|
||||
2. Build with Docker: `docker build -t foundary-1770666514 .`
|
||||
3. Run locally: `docker run -p 8080:8080 foundary-1770666514`
|
||||
|
||||
## 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://ks9ftyd2.threesix.ai
|
||||
- Git repository: https://git.threesix.ai/jordan/foundary-1770666514.git
|
||||
Loading…
Reference in New Issue
Block a user