feat: CI: configure forgejo service
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
This commit is contained in:
parent
d7e319db43
commit
b146913569
1 changed files with 24 additions and 0 deletions
24
.woodpecker.yml
Normal file
24
.woodpecker.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
steps:
|
||||
build:
|
||||
image: codeberg.org/woodpecker-plugins/node-pm
|
||||
settings:
|
||||
run: # script name
|
||||
- install
|
||||
- build
|
||||
- doc
|
||||
- test
|
||||
|
||||
services:
|
||||
forgejo:
|
||||
image: codeberg.org/forgejo/forgejo:1.20.1-0
|
||||
environment:
|
||||
- USER_UID=1001
|
||||
- USER_GID=1001
|
||||
- FORGEJO_cors_ENABLED=true
|
||||
- FORGEJO_cors_ALLOW_DOMAIN="*"
|
||||
- FORGEJO_cors_METHODS="GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS"
|
||||
- FORGEJO_cors_ALLOW_CREDENTIALS=false
|
||||
volumes:
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ./integration/conf/app.ini:/data/gitea/conf/app.ini:wo
|
Loading…
Reference in a new issue