Skip to content
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
4 changes: 2 additions & 2 deletions images/chromium-headful/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ RUN npm install -g typescript playwright-core tsx

# setup desktop env & app
ENV DISPLAY_NUM=1
ENV HEIGHT=768
ENV WIDTH=1024
ENV HEIGHT=1080
ENV WIDTH=1920
ENV WITHDOCKER=true

COPY images/chromium-headful/xorg.conf /etc/neko/xorg.conf
Expand Down
2 changes: 1 addition & 1 deletion images/chromium-headful/neko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://neko.m1k1o.net/docs/v3/configuration#file

desktop:
screen: "1024x768@60"
screen: "1920x1080@25"

member:
provider: multiuser
Expand Down
4 changes: 2 additions & 2 deletions images/chromium-headful/run-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ RUN_ARGS=(
-p 9222:9222
-p 444:10001
-e DISPLAY_NUM=1
-e HEIGHT=768
-e WIDTH=1024
-e HEIGHT=1080
-e WIDTH=1920
-e TZ=${TZ:-'America/Los_Angeles'}
-e RUN_AS_ROOT="$RUN_AS_ROOT"
--mount type=bind,src="$FLAGS_FILE",dst=/chromium/flags,ro
Expand Down
4 changes: 2 additions & 2 deletions images/chromium-headful/run-unikernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ deploy_args=(
-p 9222:9222/tls
-p 444:10001/tls
-e DISPLAY_NUM=1
-e HEIGHT=768
-e WIDTH=1024
-e HEIGHT=1080
-e WIDTH=1920
-e TZ=${TZ:-'America/Los_Angeles'}
-e RUN_AS_ROOT="$RUN_AS_ROOT"
-e LOG_CDP_MESSAGES=true
Expand Down
4 changes: 2 additions & 2 deletions images/chromium-headless/image/start-xvfb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
set -o pipefail -o errexit -o nounset

DISPLAY="${DISPLAY:-:1}"
WIDTH="${WIDTH:-1024}"
HEIGHT="${HEIGHT:-768}"
WIDTH="${WIDTH:-1920}"
HEIGHT="${HEIGHT:-1080}"
DPI="${DPI:-96}"

echo "Starting Xvfb on ${DISPLAY} with ${WIDTH}x${HEIGHT}x24, DPI ${DPI}"
Expand Down
4 changes: 2 additions & 2 deletions images/chromium-headless/image/wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ start_dynamic_log_aggregator

# Export common env used by services
export DISPLAY=:1
export HEIGHT=${HEIGHT:-768}
export WIDTH=${WIDTH:-1024}
export HEIGHT=${HEIGHT:-1080}
export WIDTH=${WIDTH:-1920}
export INTERNAL_PORT="${INTERNAL_PORT:-9223}"
export CHROME_PORT="${CHROME_PORT:-9222}"

Expand Down
Loading