FIX(gitea): gitea deployment strategy config
- Use correct key: deploymentStrategy instead of deployment.strategy - Set type to Recreate to prevent leveldb lock conflicts - This will resolve OutOfSync issue
This commit is contained in:
@@ -101,6 +101,10 @@ valkey-cluster:
|
||||
redis-cluster:
|
||||
enabled: false
|
||||
|
||||
# Deployment strategy: Recreate to avoid leveldb lock conflicts
|
||||
deploymentStrategy:
|
||||
type: Recreate
|
||||
|
||||
# Environment variables for database password
|
||||
deployment:
|
||||
env:
|
||||
@@ -110,10 +114,6 @@ deployment:
|
||||
name: gitea-postgres-password
|
||||
key: password
|
||||
|
||||
# Deployment strategy: Recreate to avoid leveldb lock conflicts
|
||||
strategy:
|
||||
type: Recreate
|
||||
|
||||
# Persistence for Gitea data
|
||||
persistence:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user