Chromium/docker-compose.yml

21 lines
707 B
YAML

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