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:
|
redis-cluster:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
# Deployment strategy: Recreate to avoid leveldb lock conflicts
|
||||||
|
deploymentStrategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
# Environment variables for database password
|
# Environment variables for database password
|
||||||
deployment:
|
deployment:
|
||||||
env:
|
env:
|
||||||
@@ -110,10 +114,6 @@ deployment:
|
|||||||
name: gitea-postgres-password
|
name: gitea-postgres-password
|
||||||
key: password
|
key: password
|
||||||
|
|
||||||
# Deployment strategy: Recreate to avoid leveldb lock conflicts
|
|
||||||
strategy:
|
|
||||||
type: Recreate
|
|
||||||
|
|
||||||
# Persistence for Gitea data
|
# Persistence for Gitea data
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user