Upload files to "/"

This commit is contained in:
Adil Sadqi 2024-05-21 13:38:40 +00:00
commit ad577a6c5a
2 changed files with 29 additions and 0 deletions

8
Read-me.txt Normal file
View File

@ -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"

21
docker-compose.yml Normal file
View File

@ -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