aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md15
-rw-r--r--docker-compose.yml11
2 files changed, 23 insertions, 3 deletions
diff --git a/README.md b/README.md
index 578a5c9..1976d39 100644
--- a/README.md
+++ b/README.md
@@ -28,9 +28,18 @@ Default channel example: https://synctube.onrender.com/
- Open showed "Local" link for yourself and send "Global" link to friends
### Setup (Docker)
-- As alternative, you can install Docker and run:
-- `docker build -t synctube .`
-- `docker run --rm -it -p 4200:4200 -v ${PWD}/user:/usr/src/app/user synctube`
+As alternative, you can install Docker and run:
+> ```shell
+> docker build -t synctube .
+> docker run --rm -it -p 4200:4200 -v ${PWD}/user:/usr/src/app/user synctube
+> ```
+
+or
+
+> ```shell
+> docker compose up -d
+> ```
+
- (Docker container hides real local/global ips, so you need to checkout it manually)
### Configuration
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"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage