8000 Forgejo 11 image for testing purposes by cobak78 · Pull Request #219 · kedacore/test-tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Forgejo 11 image for testing purposes #219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions e2e/images/forgejo/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM codeberg.org/forgejo/forgejo:11
COPY forgejo.db app.ini /data/

RUN chmod -R 777 /data
RUN chown 1000:1000 /data
73 changes: 73 additions & 0 deletions e2e/images/forgejo/app.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
APP_NAME = Forgejo: Beyond coding. We Forge.
RUN_USER = git
WORK_PATH = /
RUN_MODE = dev

[database]
DB_TYPE = sqlite3
HOST = 127.0.0.1:3306
NAME = forgejo
USER = forgejo
PASSWD =
SCHEMA =
SSL_MODE = disable
PATH = /data/forgejo.db
LOG_SQL = false

[repository]
ROOT = /data/forgejo-repositories

[server]
SSH_DOMAIN = localhost
DOMAIN = localhost
HTTP_PORT = 3000
ROOT_URL = http://localhost:3000/
APP_DATA_PATH = /data
DISABLE_SSH = false
SSH_PORT = 22
LFS_START_SERVER = true
OFFLINE_MODE = true

[service]
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = false
DISABLE_REGISTRATION = false
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
ENABLE_CAPTCHA = false
REQUIRE_SIGNIN_VIEW = false
DEFAULT_KEEP_EMAIL_PRIVATE = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING = true
NO_REPLY_ADDRESS = noreply.localhost

[openid]
ENABLE_OPENID_SIGNIN = true
ENABLE_OPENID_SIGNUP = true

[cron.update_checker]
ENABLED = true

[session]
PROVIDER = file

[log]
MODE = console
LEVEL = info
ROOT_PATH = /log

[repository.pull-request]
DEFAULT_MERGE_STYLE = merge

[repository.signing]
DEFAULT_TRUST_MODEL = committer

[security]
INSTALL_LOCK = true
PASSWORD_HASH_ALGO = pbkdf2_hi

[actions]
ENABLED = true
DEFAULT_ACTIONS_URL = https://github.com

[stackitgitsettings]
ENABLE_USER_PASS_SIGNIN = true
Binary file added e2e/images/forgejo/forgejo.db
Binary file not shown.
0