ci: add woodpecker pipeline, Dockerfile and deploy configs
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
Mirrors the oneos- project layout: multi-stage node:22 → nginx:alpine build, Woodpecker pipeline that tags images as <branch>-<pkg-version> and pushes to harbor.lnh2e.com/lingniu-v1/bi, and a swarm-style docker-compose for deployment. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
bi:
|
||||
image: harbor.lnh2e.com/lingniu-v1/bi:main-0.0.0
|
||||
ports:
|
||||
- "8114: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