Update docker-compose.yml

This commit is contained in:
Adil Sadqi 2024-11-14 10:19:14 +00:00
parent ad577a6c5a
commit 0779e02fea
1 changed files with 20 additions and 20 deletions

View File

@ -1,21 +1,21 @@
--- ---
services: services:
chromium: chromium:
image: lscr.io/linuxserver/chromium:latest image: lscr.io/linuxserver/chromium:latest
container_name: chromium container_name: chromium
security_opt: security_opt:
- seccomp:unconfined #optional - seccomp:unconfined #optional
environment: environment:
- PUID=1000 # Adjust if necessary - PUID=1000 # Adjust if necessary
- PGID=1000 # Adjust if necessary - PGID=1000 # Adjust if necessary
- TZ=Etc/UTC # Adjust to your timezone - TZ=Etc/UTC # Adjust to your timezone
- CHROME_CLI=https://google.com/ #optional - CHROME_CLI=https://google.com/ #optional
- CUSTOM_USER=adil # HTTP Basic auth username, abc is default. - CUSTOM_USER=USERNAME # HTTP Basic auth username, abc is default.
- PASSWORD=Sadqi@1981 # HTTP Basic auth password, abc is default. If unset there will be no auth - PASSWORD=PASSWORD # HTTP Basic auth password, abc is default. If unset there will be no auth
volumes: volumes:
- /path/on/host:/config # Replace /path/on/host with your host path - /path/on/host:/config # Replace /path/on/host with your host path
ports: ports:
- 3000:3000 - 3000:3000
- 3001:3001 - 3001:3001
shm_size: "1gb" shm_size: "1gb"
restart: unless-stopped restart: unless-stopped