Initialize project from default template

This commit is contained in:
jordan 2026-01-31 17:31:48 +00:00
commit df26404ec1
4 changed files with 84 additions and 0 deletions

32
.claude/CLAUDE.md Normal file
View File

@ -0,0 +1,32 @@
# newtest
Project deployed to 2nf73rbe.threesix.ai via threesix.ai platform.
## Quick Start
```bash
# Clone
git clone https://git.threesix.ai/jordan/newtest.git
cd newtest
# Build
docker build -t newtest .
# Run
docker run -p 8080:8080 newtest
```
## 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://2nf73rbe.threesix.ai
## Constraints
- Keep the Dockerfile optimized for build time
- Use multi-stage builds when possible
- All config via environment variables

22
.woodpecker.yml Normal file
View File

@ -0,0 +1,22 @@
steps:
docker:
image: woodpeckerci/plugin-kaniko
settings:
registry: registry.threesix.ai
repo: "newtest"
tags:
- latest
- ${CI_COMMIT_SHA:0:8}
cache: true
skip-tls-verify: true
when:
- event: push
branch: main
deploy:
image: bitnami/kubectl:latest
commands:
- kubectl set image deployment/newtest newtest=registry.threesix.ai/newtest:${CI_COMMIT_SHA:0:8} -n projects
when:
- event: push
branch: main

9
Dockerfile Normal file
View 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
View File

@ -0,0 +1,21 @@
# newtest
Deployed at: https://2nf73rbe.threesix.ai
## Getting Started
1. Clone the repository
2. Build with Docker: `docker build -t newtest .`
3. Run locally: `docker run -p 8080:8080 newtest`
## 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://2nf73rbe.threesix.ai
- Git repository: https://git.threesix.ai/jordan/newtest.git