1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-30 08:06:52 +02:00

Make it clear that MariaDB is also a supported DB (#1142)

This commit is contained in:
faust 2022-08-30 19:39:22 +02:00 committed by GitHub
parent 08a99152d6
commit 9fd16f2b2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
# Databases # Databases
The default database engine of Woodpecker is an embedded SQLite database which requires zero installation or configuration. But you can replace it with a MySQL or Postgres database. The default database engine of Woodpecker is an embedded SQLite database which requires zero installation or configuration. But you can replace it with a MySQL/MariaDB or Postgres database.
## Configure sqlite ## Configure sqlite
@ -17,7 +17,7 @@ services:
+ - woodpecker-server-data:/var/lib/woodpecker/ + - woodpecker-server-data:/var/lib/woodpecker/
``` ```
## Configure MySQL ## Configure MySQL/MariaDB
The below example demonstrates mysql database configuration. See the official driver [documentation](https://github.com/go-sql-driver/mysql#dsn-data-source-name) for configuration options and examples. The below example demonstrates mysql database configuration. See the official driver [documentation](https://github.com/go-sql-driver/mysql#dsn-data-source-name) for configuration options and examples.