2023-09-17 01:59:08 +05:30
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
forgejo:
|
2023-09-18 20:59:40 +05:30
|
|
|
image: codeberg.org/forgejo/forgejo:1.20.1-0
|
2023-09-17 01:59:08 +05:30
|
|
|
container_name: hostea-dash-forgejo
|
|
|
|
network_mode: host
|
|
|
|
environment:
|
2023-09-18 19:02:09 +05:30
|
|
|
- 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
|
2023-09-17 01:59:08 +05:30
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2023-09-18 21:47:21 +05:30
|
|
|
- ./integration/conf/app.ini:/data/gitea/conf/app.ini
|