Restore working stack.yml from v3.10.0 update

This commit is contained in:
Colin 2025-10-13 01:00:34 -04:00
parent 84d0afd049
commit 76b539d6be
Signed by: colin
SSH Key Fingerprint: SHA256:nRPCQTeMFLdGytxRQmPVK9VXY3/ePKQ5lGRyJhT5DY8
1 changed files with 24 additions and 24 deletions

View File

@ -12,7 +12,7 @@ services:
MYSQL_PASSWORD: "woodpecker" MYSQL_PASSWORD: "woodpecker"
MYSQL_RANDOM_ROOT_PASSWORD: 1 MYSQL_RANDOM_ROOT_PASSWORD: 1
volumes: volumes:
- /mnt/tank/persist/nixc.us/woodpecker/production/db:/var/lib/mysql - /mnt/data/nixc.us/woodpecker/production/db:/var/lib/mysql
networks: networks:
- woodpecker - woodpecker
deploy: deploy:
@ -48,14 +48,14 @@ services:
WOODPECKER_GITEA_CLIENT: "56c038d7-64b5-47e4-acae-cb8a69b31731" WOODPECKER_GITEA_CLIENT: "56c038d7-64b5-47e4-acae-cb8a69b31731"
WOODPECKER_GITEA_SECRET: "gto_3wopyl5cybbs6p2gjducq6atxgl2zuebhcxda4sky3yjlxx3kmla" WOODPECKER_GITEA_SECRET: "gto_3wopyl5cybbs6p2gjducq6atxgl2zuebhcxda4sky3yjlxx3kmla"
WOODPECKER_AGENT_SECRET: "WdK6TEWqsfi6R6SGKYSaqsg7ZQyKxnZFyWBeegt2TCCDHmivcYaPCMmdXTN5G7U3bv3C6TFDDiyBdoKB5M5c5hikGrQzm67rcBbfKB3SZRYFeurAGwsPmtVQWnVkPCtG" WOODPECKER_AGENT_SECRET: "WdK6TEWqsfi6R6SGKYSaqsg7ZQyKxnZFyWBeegt2TCCDHmivcYaPCMmdXTN5G7U3bv3C6TFDDiyBdoKB5M5c5hikGrQzm67rcBbfKB3SZRYFeurAGwsPmtVQWnVkPCtG"
WOODPECKER_DATABASE_DRIVER: "sqlite3" WOODPECKER_DATABASE_DRIVER: "mysql"
WOODPECKER_DATABASE_DATASOURCE: "/var/lib/woodpecker/woodpecker.sqlite" WOODPECKER_DATABASE_DATASOURCE: "woodpecker:woodpecker@tcp(woodpecker_db:3306)/woodpecker?parseTime=true"
WOODPECKER_LOG_FILE: stdout WOODPECKER_LOG_FILE: stdout
networks: networks:
- traefik - traefik
- woodpecker - woodpecker
volumes: volumes:
- /mnt/tank/persist/nixc.us/woodpecker/production/data:/var/lib/woodpecker/ - /mnt/data/nixc.us/woodpecker/production/data:/var/lib/woodpecker/
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
deploy: deploy:
@ -88,10 +88,10 @@ services:
homepage.name: woodpecker homepage.name: woodpecker
homepage.href: "https://woodpecker.nixc.us" homepage.href: "https://woodpecker.nixc.us"
homepage.description: "Woodpecker CI" homepage.description: "Woodpecker CI"
# update_config: update_config:
# order: stop-first # order: stop-first
# delay: 60s delay: 60s
# parallelism: 1 parallelism: 1
restart_policy: restart_policy:
condition: any condition: any
@ -101,7 +101,7 @@ services:
- woodpecker - woodpecker
environment: environment:
WOODPECKER_LOG_FILE: stdout WOODPECKER_LOG_FILE: stdout
WOODPECKER_SERVER: "woodpecker_server:9000" WOODPECKER_SERVER: "server:9000"
WOODPECKER_AGENT_SECRET: "WdK6TEWqsfi6R6SGKYSaqsg7ZQyKxnZFyWBeegt2TCCDHmivcYaPCMmdXTN5G7U3bv3C6TFDDiyBdoKB5M5c5hikGrQzm67rcBbfKB3SZRYFeurAGwsPmtVQWnVkPCtG" WOODPECKER_AGENT_SECRET: "WdK6TEWqsfi6R6SGKYSaqsg7ZQyKxnZFyWBeegt2TCCDHmivcYaPCMmdXTN5G7U3bv3C6TFDDiyBdoKB5M5c5hikGrQzm67rcBbfKB3SZRYFeurAGwsPmtVQWnVkPCtG"
WOODPECKER_DEBUG: "true" WOODPECKER_DEBUG: "true"
# WOODPECKER_LOG_LEVEL: "trace" # WOODPECKER_LOG_LEVEL: "trace"
@ -120,11 +120,11 @@ services:
- node.role == manager - node.role == manager
- node.hostname != ingress.nixc.us - node.hostname != ingress.nixc.us
mode: global mode: global
# update_config: update_config:
# order: stop-first # order: stop-first
# failure_action: rollback failure_action: rollback
# delay: 120s delay: 120s
# parallelism: 4 parallelism: 4
restart_policy: restart_policy:
condition: any condition: any
labels: labels:
@ -160,11 +160,11 @@ services:
constraints: constraints:
- node.hostname == ingress.nixc.us - node.hostname == ingress.nixc.us
mode: global mode: global
# update_config: update_config:
# order: stop-first # order: stop-first
# failure_action: rollback failure_action: rollback
# delay: 120s delay: 120s
# parallelism: 4 parallelism: 4
restart_policy: restart_policy:
condition: any condition: any
labels: labels:
@ -202,11 +202,11 @@ services:
mode: global mode: global
labels: labels:
traefik.enable: "false" traefik.enable: "false"
# update_config: update_config:
# order: stop-first order: stop-first
# failure_action: rollback failure_action: rollback
# delay: 120s delay: 120s
# parallelism: 4 parallelism: 4
restart_policy: restart_policy:
condition: any condition: any
volumes: volumes: