-
Notifications
You must be signed in to change notification settings - Fork 399
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
add chromium browser app #1888
base: master
Are you sure you want to change the base?
add chromium browser app #1888
Conversation
Maybe the docker-compose.yml is missing here...? |
I just did thx |
❌ Linting failed with 2 errors and 1 warning ❌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.
Thank you @maddog1110 for submitting this app. I am really looking forward to having a fully featured chromium browser installed on umbrelOS.
I have left some suggestions for improvements below:
- PUID=1000 | ||
- PGID=1000 |
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.
Great to see the non-root user and group here 👍
@@ -0,0 +1,16 @@ | |||
services: | |||
chromium: | |||
image: lscr.io/linuxserver/chromium:stable |
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.
As the lscr.io
registry is just a redirect to the ghcr.io
, I propose switching directly to it. I have also added the digest.
image: lscr.io/linuxserver/chromium:stable | |
image: ghcr.io/linuxserver/chromium:version-c0d313e5@sha256:231b1e75148be3a8bda8143a2cdffb18e0207d3dc3ba8fc4e07fb954830d51db |
- PUID=1000 | ||
- PGID=1000 | ||
- TZ=Etc/UTC | ||
- CHROME_CLI=https://www.linuxserver.io/ #optional |
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.
This line can be removed as it is just the default website to be opened, when chrome starts
- CHROME_CLI=https://www.linuxserver.io/ #optional |
- TZ=Etc/UTC | ||
- CHROME_CLI=https://www.linuxserver.io/ #optional | ||
volumes: | ||
- /path/to/config:/config |
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.
Persisted data needs to be bound to the app data directory like this:
- /path/to/config:/config | |
- ${APP_DATA_DIR}/data:/config |
Please also create a directory called data
in apps/chromium-browser/data
. Inside of that directory please create a file called .gitkeep
. The reason is, that docker would create that directory for us automatically. But the permissions would be wrong, so we have to create it beforehand.
- 3000:3000 | ||
- 3001:3001 | ||
shm_size: "1gb" | ||
restart: unless-stopped |
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.
We should change this to on-failure
restart: unless-stopped | |
restart: on-failure |
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.
category: "networking" | ||
port: 30099 | ||
developer: "LinuxServer.io" | ||
website: "https://hub.docker.com/r/linuxserver/chromium" |
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.
This is the original website:
website: "https://hub.docker.com/r/linuxserver/chromium" | |
website: "https://docs.linuxserver.io/images/docker-chromium" |
website: "https://hub.docker.com/r/linuxserver/chromium" | ||
submitter: "maddog11010" | ||
submission: "https://github.com/getumbrel/umbrel-apps/pull/1888" | ||
repo: "https://github.com/maddog1110/Chrome-in-umbrel" |
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.
This is the original repo:
repo: "https://github.com/maddog1110/Chrome-in-umbrel" | |
repo: "https://github.com/linuxserver/docker-chromium" |
submitter: "maddog11010" | ||
submission: "https://github.com/getumbrel/umbrel-apps/pull/1888" | ||
repo: "https://github.com/maddog1110/Chrome-in-umbrel" | ||
support: "https://github.com/maddog1110/Chrome-in-umbrel/issues" |
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.
Also align the support:
support: "https://github.com/maddog1110/Chrome-in-umbrel/issues" | |
support: "https://discourse.linuxserver.io/" |
defaultUsername: "admin" | ||
defaultPassword: "umbrel123" |
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.
We can remove this for two reasons:
- The image has no authentication configured by default, see https://docs.linuxserver.io/images/docker-chromium/#security
- We have put a proxy infront of it, which uses the umbrelOS user to authenticate
Chromium Browser App for Umbrel
A full-featured Chromium browser with secure remote access, powered by LinuxServer.io.
Features
Testing
Gallery Images