From d920632fdbb588a639e6aa35727257813ff6f56b Mon Sep 17 00:00:00 2001 From: ShareVB Date: Wed, 1 Jan 2025 12:21:43 +0100 Subject: [PATCH] chore: add docker compose sample --- README.md | 13 +++++++++++++ docker-compose.yml | 8 ++++++++ 2 files changed, 21 insertions(+) create mode 100644 docker-compose.yml diff --git a/README.md b/README.md index bca10436..0f77fcd8 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,19 @@ docker build -t it-tools --build-arg BASE_URL="/my-folder/" . docker run -d --name it-tools --restart unless-stopped -p 8080:80 it-tools ``` +## Use in Docker Compose file + +```yml +services: + it-tools: + container_name: it-tools + image: ghcr.io/sharevb/it-tools:nightly + pull_policy: always + restart: unless-stopped + ports: + - 8080:80 +``` + ## Installation methods | Docker Image | Local Installation | diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..d8f9307f --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +services: + it-tools: + container_name: it-tools + image: ghcr.io/sharevb/it-tools:nightly + pull_policy: always + restart: unless-stopped + ports: + - 8080:80 \ No newline at end of file