mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-10 17:45:36 +00:00
FIX: database docker-compose documentation (#878)
environment in docker-compose files is an array: lines start with a dash (-) and key value assignments are done using an equal sign (=) Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
parent
ef88264005
commit
a5a288718d
1 changed files with 4 additions and 4 deletions
|
@ -29,8 +29,8 @@ services:
|
|||
woodpecker-server:
|
||||
[...]
|
||||
environment:
|
||||
+ WOODPECKER_DATABASE_DRIVER: mysql
|
||||
+ WOODPECKER_DATABASE_DATASOURCE: root:password@tcp(1.2.3.4:3306)/woodpecker?parseTime=true
|
||||
+ - WOODPECKER_DATABASE_DRIVER=mysql
|
||||
+ - WOODPECKER_DATABASE_DATASOURCE=root:password@tcp(1.2.3.4:3306)/woodpecker?parseTime=true
|
||||
```
|
||||
|
||||
## Configure Postgres
|
||||
|
@ -46,8 +46,8 @@ services:
|
|||
woodpecker-server:
|
||||
[...]
|
||||
environment:
|
||||
+ WOODPECKER_DATABASE_DRIVER: postgres
|
||||
+ WOODPECKER_DATABASE_DATASOURCE: postgres://root:password@1.2.3.4:5432/postgres?sslmode=disable
|
||||
+ - WOODPECKER_DATABASE_DRIVER=postgres
|
||||
+ - WOODPECKER_DATABASE_DATASOURCE=postgres://root:password@1.2.3.4:5432/postgres?sslmode=disable
|
||||
```
|
||||
|
||||
## Database Creation
|
||||
|
|
Loading…
Reference in a new issue