feat: Add CI/CD and deployment configuration
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

Add Woodpecker CI pipeline, Dockerfile, nginx config, and docker-compose for automated build and deployment.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
kkfluous
2026-03-30 20:00:31 +08:00
parent 9c4f39df51
commit a8b04281cc
4 changed files with 109 additions and 0 deletions

17
docker-compose.yml Normal file
View File

@@ -0,0 +1,17 @@
version: '3.8'
services:
oneos:
image: harbor.lnh2e.com/lingniu-v1/oneos:main-0.0.0
network_mode: host
environment:
NGINX_PORT: "80"
deploy:
replicas: 1
restart_policy:
condition: on-failure
placement:
constraints: [node.role == manager]
labels:
- portainer.hide=false
- project=lingniu