Files
oneos-/docker-compose.yml
kkfluous a8b04281cc
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
feat: Add CI/CD and deployment configuration
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>
2026-03-30 20:00:31 +08:00

18 lines
368 B
YAML

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