33 lines
1004 B
YAML
33 lines
1004 B
YAML
name: 001_desktop
|
|
|
|
services:
|
|
chromium:
|
|
build: .
|
|
security_opt:
|
|
- seccomp:unconfined #optional
|
|
environment:
|
|
- TITLE=desktop-test-seat-1
|
|
- FM_HOME=/app
|
|
- PUID=1000 # default 911
|
|
- PGID=1000 # default 911
|
|
- TZ=Etc/Asia_HongKong
|
|
- CHROME_CLI=https://www.gmail.com/ #optional
|
|
# - CUSTOM_PORT=3000 # Internal port the container listens on for http if it needs to be swapped from the default 3000.
|
|
- CUSTOM_HTTPS_PORT=3001 # Internal port the container listens on for https if it needs to be swapped from the default 3001.
|
|
- NO_FULL=1 # Do not autmatically fullscreen applications when using openbox.
|
|
- LC_ALL=en_US.UTF-8 # Set the locale.
|
|
- INSTALL_PACKAGES=fonts-noto-cjk
|
|
ports:
|
|
# - 6000:3000
|
|
- 6001:3001 # https vnc ip
|
|
- 9323:9323 # report ip
|
|
volumes:
|
|
- ./app:/app
|
|
shm_size: '1gb'
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: 1
|
|
reservations:
|
|
cpus: 0.01
|