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