Upload files to "/"
This commit is contained in:
commit
ad577a6c5a
|
@ -0,0 +1,8 @@
|
||||||
|
how to run it
|
||||||
|
create file name "docker-compose.yml" (nano docker-compose.yml)
|
||||||
|
past the code on docker file
|
||||||
|
run "docker-compose up -d"
|
||||||
|
NB : if compose not installed run this commands
|
||||||
|
"sudo snap install docker
|
||||||
|
"sudo snap install docker"
|
||||||
|
"sudo apt install docker-compose"
|
|
@ -0,0 +1,21 @@
|
||||||
|
---
|
||||||
|
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=adil # HTTP Basic auth username, abc is default.
|
||||||
|
- PASSWORD=Sadqi@1981 # 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
|
Loading…
Reference in New Issue