feat: Add CI/CD and deployment configuration
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
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:
17
docker-compose.yml
Normal file
17
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user