woodpecker/cmd/server
smainz 65a429d24a
Fix usage of WOODPECKER_DATABASE_DATASOURCE_FILE (#3404)
fixes #3389

Set variable to let server detect if it's deployed within a container
image.
Set the default database connection based on this.

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-02-26 20:12:41 +01:00
..
docs Lint for event filter and deprecate exclude (#3222) 2024-02-10 17:33:05 +01:00
flags.go Fix usage of WOODPECKER_DATABASE_DATASOURCE_FILE (#3404) 2024-02-26 20:12:41 +01:00
health.go Fix health check (#2412) 2023-09-09 14:45:24 +02:00
main.go Replace goimports with gci (#3202) 2024-01-14 18:22:06 +01:00
server.go Refactor internal services (#915) 2024-02-11 18:42:33 +01:00
setup.go Add bitbucket datacenter (server) support (#2503) 2024-02-20 15:58:02 +01:00
swagger.go fix and lint swagger file (#3007) 2023-12-24 15:50:01 +01:00
swagger_test.go Add some tests (#3030) 2023-12-27 10:36:49 +01:00
woodpecker_docs_gen.go fix and lint swagger file (#3007) 2023-12-24 15:50:01 +01:00