Compare commits
58 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| eec8c28fb3 | |||
| a599623ea9 | |||
| 0f0a442d74 | |||
| a8cd4bf34c | |||
| 02911109ef | |||
| 2bad9fec53 | |||
| 54ce6f677c | |||
| ad7704c1df | |||
| 330ccae82f | |||
| 0a5bb296a9 | |||
| 437a35bd47 | |||
| 612d3655fa | |||
| 38cdc5d9d0 | |||
| 816124634b | |||
| 2b2f3c876b | |||
| 20f2624653 | |||
| e8724c5edc | |||
| 2c284bdd49 | |||
| db1e77ceb3 | |||
| df5e69236a | |||
| a3259b042d | |||
| f5e7c2bdfc | |||
| 0859ab31ab | |||
| c02219cc92 | |||
| d73b3aee5c | |||
| 80eb91e9a1 | |||
| aa6c751007 | |||
| 1af786e7c8 | |||
| c46c1976a2 | |||
| 3b3ea83ecd | |||
| 5980a8081c | |||
| 55f64f8050 | |||
| 983ae34147 | |||
| 4232c0a8ee | |||
| 402a8b3105 | |||
| f46bb838ca | |||
| 3d0179a119 | |||
| 557b33dc73 | |||
| 2a1652d0b1 | |||
| f0fdf9b752 | |||
| 973efd6412 | |||
| 028342c63a | |||
| eb9b907ba3 | |||
| aee0eeef82 | |||
| c977cf6190 | |||
| 28bc73bb1a | |||
| 19719693b0 | |||
| a243066691 | |||
| 741a59c333 | |||
| 5642a37c44 | |||
| 1726a19cb6 | |||
| 40090cda23 | |||
| 9945fac150 | |||
| abf88ab4cb | |||
| 98c720987d | |||
| 1bd7eab223 | |||
| 080e17d85a | |||
| 0a3b64ba5c |
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
@@ -303,6 +303,19 @@ ACQUIS_EOF
|
||||
# Also handle case where it might be without trailing slash
|
||||
sed -i 's|log_dir: /var/log$|log_dir: /var/log/crowdsec|g' "$CS_CONFIG_DIR/config.yaml"
|
||||
|
||||
# Redirect CrowdSec LAPI database to persistent volume
|
||||
# Default path /var/lib/crowdsec/data/crowdsec.db is ephemeral (not volume-mounted),
|
||||
# so it is destroyed on every container rebuild. The bouncer API key (stored on the
|
||||
# persistent volume at /app/data/crowdsec/) survives rebuilds but the LAPI database
|
||||
# that validates it does not — causing perpetual key rejection.
|
||||
# Redirecting db_path to the volume-mounted CS_DATA_DIR fixes this.
|
||||
sed -i "s|db_path: /var/lib/crowdsec/data/crowdsec.db|db_path: ${CS_DATA_DIR}/crowdsec.db|g" "$CS_CONFIG_DIR/config.yaml"
|
||||
if grep -q "db_path:.*${CS_DATA_DIR}" "$CS_CONFIG_DIR/config.yaml"; then
|
||||
echo "✓ CrowdSec LAPI database redirected to persistent volume: ${CS_DATA_DIR}/crowdsec.db"
|
||||
else
|
||||
echo "⚠️ WARNING: Could not verify LAPI db_path redirect — bouncer keys may not survive rebuilds"
|
||||
fi
|
||||
|
||||
# Verify LAPI configuration was applied correctly
|
||||
if grep -q "listen_uri:.*:8085" "$CS_CONFIG_DIR/config.yaml"; then
|
||||
echo "✓ CrowdSec LAPI configured for port 8085"
|
||||
|
||||
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
+6
@@ -324,6 +324,12 @@
|
||||
"matchDatasources": ["go"],
|
||||
"matchPackageNames": ["github.com/oschwald/geoip2-golang/v2"],
|
||||
"sourceUrl": "https://github.com/oschwald/geoip2-golang"
|
||||
},
|
||||
{
|
||||
"description": "Fix Renovate lookup for google/uuid",
|
||||
"matchDatasources": ["go"],
|
||||
"matchPackageNames": ["github.com/google/uuid"],
|
||||
"sourceUrl": "https://github.com/google/uuid"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user