chore: 🐳 新增 Portainer 部署用 docker-compose
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
外部端口 8088 → 容器 80,镜像 tag 跟 Woodpecker 构建输出一致。 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:
|
||||||
|
log-lottery:
|
||||||
|
image: harbor.lnh2e.com/lingniu-v1/log-lottery:main-0.6.0-5
|
||||||
|
ports:
|
||||||
|
- "8088: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