-
Notifications
You must be signed in to change notification settings - Fork 425
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
App Submission: Forgejo #2221
base: master
Are you sure you want to change the base?
App Submission: Forgejo #2221
Conversation
I'm going to ignore it cuz PR containing not the 1.0.0 version. If I'm wrong, correct me, thank you. |
❌ Linting failed with 1 error ❌Thank you for your submission! This is an automated linter that checks for common issues in pull requests to the Umbrel App Store. Please review the linting results below and make any necessary changes to your submission. Linting Results
Legend
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @wilddip!
Great first submission 🚀
Made some suggestions to make the app fully functional. For example the storage did not work as expected as the data has to be mounted to the gitea folder.
- db | ||
|
||
db: | ||
image: postgres:14@sha256:5d8330e221083215ffbb3c5feeb2cfe44aadda827bc3f0dad9bbf3e58ed2e895 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go for the latest postgres release.
image: postgres:14@sha256:5d8330e221083215ffbb3c5feeb2cfe44aadda827bc3f0dad9bbf3e58ed2e895 | |
image: postgres:17.3@sha256:0321e2252ebfeecb8bc1a899755084d29bce872953e1a5a3e25ec0860b739098 |
volumes: | ||
- ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a healthcheck to make sure the db is ready when the app container starts up.
volumes: | |
- ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data | |
volumes: | |
- ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data | |
healthcheck: | |
test: ["CMD-SHELL", "pg_isready -U forgejo"] | |
interval: 5s | |
timeout: 5s | |
retries: 5 |
export APP_FORGEJO_SSH_PORT="2222" | ||
export APP_FORGEJO_TOR_HS_EXTRA_PORTS="22:forgejo_server_1:${APP_FORGEJO_SSH_PORT}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to a different port to avoid clash with gitea.
export APP_FORGEJO_SSH_PORT="2222" | |
export APP_FORGEJO_TOR_HS_EXTRA_PORTS="22:forgejo_server_1:${APP_FORGEJO_SSH_PORT}" | |
export APP_FORGEJO_SSH_PORT="2223" | |
export APP_FORGEJO_TOR_HS_EXTRA_PORTS="22:forgejo_server_1:${APP_FORGEJO_SSH_PORT}" | |
releaseNotes: >- | ||
Forgejo v10.0.1 Release Notes (February 8, 2025): | ||
|
||
|
||
🔒 Security Fixes: | ||
- Fixed permissions enforcement for Forgejo Actions web endpoints to prevent unauthorized deletion of runners/variables or modification of variables. | ||
- Fixed information leakage in user/organization-wide projects for private repositories. | ||
- Added tests to verify the effectiveness of security fixes. | ||
|
||
🎨 User Interface Fixes: | ||
- Fixed display of verified icon for default GPG key. | ||
- Improved UI for branch selector in commit graph. | ||
- Fixed inline file preview for files with encoded URLs. | ||
|
||
🌐 Localization: | ||
- Updated translations from Codeberg Translate. | ||
|
||
🐛 Bug Fixes: | ||
- Fixed loading settings for valid user and email checks. | ||
- Fixed listing tokens without requiring basic auth. | ||
- Fixed various UI and functionality issues, including case-insensitive author search and rendering of issue titles. | ||
|
||
🚀 Other Improvements: | ||
- Updated dependencies, including Go to v1.23.5 and Katex to v0.16.21. | ||
- Improved e2e tests for better reliability. | ||
|
||
For more details, visit the full release notes: https://codeberg.org/forgejo/forgejo/releases/tag/v10.0.1 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
releaseNotes for the first Umbrel app store release should be empty.
releaseNotes: >- | |
Forgejo v10.0.1 Release Notes (February 8, 2025): | |
🔒 Security Fixes: | |
- Fixed permissions enforcement for Forgejo Actions web endpoints to prevent unauthorized deletion of runners/variables or modification of variables. | |
- Fixed information leakage in user/organization-wide projects for private repositories. | |
- Added tests to verify the effectiveness of security fixes. | |
🎨 User Interface Fixes: | |
- Fixed display of verified icon for default GPG key. | |
- Improved UI for branch selector in commit graph. | |
- Fixed inline file preview for files with encoded URLs. | |
🌐 Localization: | |
- Updated translations from Codeberg Translate. | |
🐛 Bug Fixes: | |
- Fixed loading settings for valid user and email checks. | |
- Fixed listing tokens without requiring basic auth. | |
- Fixed various UI and functionality issues, including case-insensitive author search and rendering of issue titles. | |
🚀 Other Improvements: | |
- Updated dependencies, including Go to v1.23.5 and Katex to v0.16.21. | |
- Improved e2e tests for better reliability. | |
For more details, visit the full release notes: https://codeberg.org/forgejo/forgejo/releases/tag/v10.0.1 | |
releaseNotes: "" |
For more details, visit the full release notes: https://codeberg.org/forgejo/forgejo/releases/tag/v10.0.1 | ||
|
||
submitter: John Wilddip | ||
submission: https://github.com/getumbrel/umbrel-apps/pull/2221 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add final newline (best practice).
submission: https://github.com/getumbrel/umbrel-apps/pull/2221 | |
submission: https://github.com/getumbrel/umbrel-apps/pull/2221 | |
volumes: | ||
- ${APP_DATA_DIR}/data/forgejo/data:/var/lib/forgejo | ||
- ${APP_DATA_DIR}/data/forgejo/config:/etc/forgejo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The data and config directory need to be created in the data/forgejo folder. Also the folder where they are mounted to are named gitea in the container.
volumes: | |
- ${APP_DATA_DIR}/data/forgejo/data:/var/lib/forgejo | |
- ${APP_DATA_DIR}/data/forgejo/config:/etc/forgejo | |
volumes: | |
- ${APP_DATA_DIR}/data/forgejo/data:/var/lib/gitea | |
- ${APP_DATA_DIR}/data/forgejo/config:/etc/gitea |
depends_on: | ||
- db |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait until db is healthy.
depends_on: | |
- db | |
depends_on: | |
db: | |
condition: service_healthy |
user: "1000:1000" | ||
environment: | ||
POSTGRES_USER: forgejo | ||
POSTGRES_PASSWORD: forgejo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nmfretz would it make sense to use $APP_PASSWORD
for postgres and other passwords?
App Submission
App name
Forgejo (#1059)
256x256 SVG icon
Gallery images
Also, my renders https://imgur.com/a/Q7jpLcU
I have tested my app on: