nas_docker_compose/chromium/docker-compose.yaml

24 lines
611 B
YAML
Raw Normal View History

2024-08-29 01:39:41 +08:00
---
services:
chromium:
2024-08-30 00:24:48 +08:00
image: linuxserver/chromium
2024-08-29 01:39:41 +08:00
container_name: chromium
security_opt:
- seccomp:unconfined #optional
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
2024-08-30 00:24:48 +08:00
- HTTP_PROXY=http://host.docker.internal:7890
- HTTPS_PROXY=https://host.docker.internal:7890
2024-08-29 01:39:41 +08:00
# # - ALL_PROXY=socks5://192.168.187.59:7891
volumes:
- /path/to/config:/config
2024-08-30 00:24:48 +08:00
- /mnt/disk1/downloads:/config/Downloads
2024-08-29 01:39:41 +08:00
ports:
- 4040:3000
- 4041:3001
shm_size: "1gb"
2024-08-30 00:24:48 +08:00
restart: always
extra_hosts:
- "host.docker.internal:host-gateway"