From 097cf610e664c922c1c618b11a582bb6a1d959f8 Mon Sep 17 00:00:00 2001 From: "Leif G." <46281254+4ctiv@users.noreply.github.com> Date: Mon, 12 Aug 2024 17:06:05 +0200 Subject: Add docker-compose (further simplify docker setup) (#55) * Add docker-compose.yml Add docker compose to further simplify the setup of the docker project. This eliminates the need to specify the need for defining ports and volumes in the command and moves it to the docker-compose file instead. * Update README.md Add docker-compose command to documentation * Update README.md (docker instructions) Update md formating for docker commands (this enables one-click-copy in the github preview) --- docker-compose.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docker-compose.yml (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..47945f4 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +# Run this as follows: 'docker compose up' (keep running in terminal session, exist via [STRG] + [C]) +# or 'docker compose up -d' (keep running in background) +version: "3" +services: + synctube: + build: . + #image: synctube + ports: + - "4200:4200" + volumes: + - "${PWD}/user:/usr/src/app/user" -- cgit v1.2.3