From ad577a6c5a3df0034da958f8d09897f627298fdb Mon Sep 17 00:00:00 2001 From: Adil Sadqi Date: Tue, 21 May 2024 13:38:40 +0000 Subject: [PATCH] Upload files to "/" --- Read-me.txt | 8 ++++++++ docker-compose.yml | 21 +++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 Read-me.txt create mode 100644 docker-compose.yml diff --git a/Read-me.txt b/Read-me.txt new file mode 100644 index 0000000..c9ca5e0 --- /dev/null +++ b/Read-me.txt @@ -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" \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..3138cd4 --- /dev/null +++ b/docker-compose.yml @@ -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 \ No newline at end of file