teacat / chaturbate-dvr

๐Ÿ˜Ž Chaturbate DVR - auto records the stream when it goes online!
MIT License
154 stars 22 forks source link

Hey guys, is there anything that can be packaged to run in Docker, or that is already running in Docker? #59

Closed bigsam223 closed 6 months ago

bigsam223 commented 6 months ago

I tried to use the YAML configuration, but it gave me the following error:

(3/6) COPY go-mod go.sum ./ $7 ERROR: "/go.sum" not found: not found

S [1/6] FROM docker. 1o/library/golang:latest@sha256:18bb67596c9537ยฃd7314

S CANCELED

[3/6] COPY go-mod go. sum ./: failed to solve: failed to compute cache key: "/go.sun" not found: not found

yaml๏ผš version: "3.0"

services: chaturbate-dvr: container_name: chaturbate-dvr build: context: . dockerfile: /config/docker/chaturbatedvr/dockerfile/Dockerfile

environment:
  - USERNAME=admin
volumes:
  - /config/docker/chaturbatedvrrr/videos:/usr/src/app/videos

/docker /dockerfile

YamiOdymel commented 6 months ago

ๆˆ‘ๅœจ /chaturbate-dvr ้€™ๅ€‹ๅฐˆๆกˆ็›ฎ้Œ„ๅŸท่กŒๆŒ‡ไปค

$ docker-compose up

ๆ˜ฏๅฏไปฅๆญฃๅธธ Build ไธ”ๆœƒ่‡ชๅ‹•ๅŸท่กŒ็š„๏ผŒไฝ†ๆˆ‘็›ฎๅ‰ๆฒ’ๆœ‰ๅพˆๅธธ็”จ Docker ๅฏ่ƒฝๅนซไธไธŠๅฟ™๏ผŒ Stackoverflow ๆœ‰ๆๅˆฐ .dockerignore ๅฏ่ƒฝๆœƒๅฟฝ็•ฅ้ƒจไปฝๆช”ๆกˆ๏ผŒๅฏ่ƒฝ็œ‹็œ‹ๆ˜ฏไธๆ˜ฏๆœ‰้—œ่ฏ๏ผŸ

C:\Users\yamiodymel\github.com\teacat\chaturbate-dvr>docker-compose up

[+] Building 79.0s (11/11) FINISHED                                                                                                                                                                                                                                                                               docker:default 
 => [chaturbate-dvr internal] load .dockerignore                                                                                                                                                                                                                                                                            0.1s 
 => => transferring context: 2B                                                                                                                                                                                                                                                                                             0.0s 
 => [chaturbate-dvr internal] load build definition from Dockerfile                                                                                                                                                                                                                                                         0.1s 
 => => transferring dockerfile: 225B                                                                                                                                                                                                                                                                                        0.0s 
 => [chaturbate-dvr internal] load metadata for docker.io/library/golang:latest                                                                                                                                                                                                                                             4.6s 
 => [chaturbate-dvr internal] load build context                                                                                                                                                                                                                                                                           27.9s 
 => => transferring context: 1.09GB                                                                                                                                                                                                                                                                                        27.8s 
 => [chaturbate-dvr 1/6] FROM docker.io/library/golang:latest@sha256:f43c6f049f04cbbaeb28f0aad3eea15274a7d0a7899a617d0037aec48d7ab010                                                                                                                                                                                      43.0s 
 => => resolve docker.io/library/golang:latest@sha256:f43c6f049f04cbbaeb28f0aad3eea15274a7d0a7899a617d0037aec48d7ab010                                                                                                                                                                                                      0.1s 
 => => sha256:4304d944c421bb279ad1faada14d03ac7e7edca61793d2f6a7ad94681c457887 2.32kB / 2.32kB                                                                                                                                                                                                                              0.0s 
 => => sha256:5905f95343e84d1f8f14aff8f8b83747fb39ea0e0fad52a9d14cf41860295fff 2.83kB / 2.83kB                                                                                                                                                                                                                              0.0s 
 => => sha256:f43c6f049f04cbbaeb28f0aad3eea15274a7d0a7899a617d0037aec48d7ab010 9.74kB / 9.74kB                                                                                                                                                                                                                              0.0s 
 => => sha256:c6cf28de8a067787ee0d08f8b01d7f1566a508b56f6e549687b41dfd375f12c7 49.58MB / 49.58MB                                                                                                                                                                                                                           13.4s 
 => => sha256:891494355808bdd3db5552f0d3723fd0fa826675f774853796fafa221d850d42 24.05MB / 24.05MB                                                                                                                                                                                                                           19.3s 
 => => sha256:6582c62583ef22717db8d306b1d6a0c288089ff607d9c0d2d81c4f8973cbfee3 64.14MB / 64.14MB                                                                                                                                                                                                                           15.1s 
 => => sha256:6d74711819e4c0c72946b3c61acc621af6c65bcb4a17d8730c0eee81f0190fc8 92.20MB / 92.20MB                                                                                                                                                                                                                           34.1s 
 => => extracting sha256:c6cf28de8a067787ee0d08f8b01d7f1566a508b56f6e549687b41dfd375f12c7                                                                                                                                                                                                                                   4.1s
 => => sha256:5ca4369267475245bb0e6217f0fdba040890f26fdef9b65cac11a545ab2db160 69.34MB / 69.34MB                                                                                                                                                                                                                           29.1s
 => => extracting sha256:891494355808bdd3db5552f0d3723fd0fa826675f774853796fafa221d850d42                                                                                                                                                                                                                                   1.0s
 => => sha256:a583c4d6eaf816b7019318d9d5dc7917a08d1e10ba961226c2e9a90bc7aff277 126B / 126B                                                                                                                                                                                                                                 20.4s
 => => extracting sha256:6582c62583ef22717db8d306b1d6a0c288089ff607d9c0d2d81c4f8973cbfee3                                                                                                                                                                                                                                   4.7s
 => => sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B                                                                                                                                                                                                                                   20.7s
 => => extracting sha256:6d74711819e4c0c72946b3c61acc621af6c65bcb4a17d8730c0eee81f0190fc8                                                                                                                                                                                                                                   2.7s
 => => extracting sha256:5ca4369267475245bb0e6217f0fdba040890f26fdef9b65cac11a545ab2db160                                                                                                                                                                                                                                   5.4s
 => => extracting sha256:a583c4d6eaf816b7019318d9d5dc7917a08d1e10ba961226c2e9a90bc7aff277                                                                                                                                                                                                                                   0.0s
 => => extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1                                                                                                                                                                                                                                   0.0s
 => [chaturbate-dvr 2/6] WORKDIR /usr/src/app                                                                                                                                                                                                                                                                               0.6s
 => [chaturbate-dvr 3/6] COPY go.mod go.sum ./                                                                                                                                                                                                                                                                              0.0s
 => [chaturbate-dvr 4/6] RUN go mod download && go mod verify                                                                                                                                                                                                                                                              11.7s
 => [chaturbate-dvr 5/6] COPY . .                                                                                                                                                                                                                                                                                           2.5s
 => [chaturbate-dvr 6/6] RUN go build                                                                                                                                                                                                                                                                                      11.0s
 => [chaturbate-dvr] exporting to image                                                                                                                                                                                                                                                                                     3.5s
 => => exporting layers                                                                                                                                                                                                                                                                                                     3.5s
 => => writing image sha256:06369207ee7867acf0cd2f1bac23912d3e3ac600e52a9374bbd34df6350423d7                                                                                                                                                                                                                                0.0s 
 => => naming to docker.io/library/chaturbate-dvr-chaturbate-dvr                                                                                                                                                                                                                                                            0.0s 
[+] Running 2/2
 โœ” Network chaturbate-dvr_default  Created                                                                                                                                                                                                                                                                                  0.1s 
 โœ” Container chaturbate-dvr        Created                                                                                                                                                                                                                                                                                  0.2s 
Attaching to chaturbate-dvr
chaturbate-dvr  | 
chaturbate-dvr  |  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
chaturbate-dvr  | โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•
chaturbate-dvr  | โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
chaturbate-dvr  | โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•”โ•โ•โ•
chaturbate-dvr  | โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
chaturbate-dvr  |  โ•šโ•โ•โ•โ•โ•โ•โ•šโ•โ•  โ•šโ•โ•โ•šโ•โ•  โ•šโ•โ•   โ•šโ•โ•    โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•  โ•šโ•โ•โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•  โ•šโ•โ•   โ•šโ•โ•   โ•šโ•โ•โ•โ•โ•โ•โ•
chaturbate-dvr  | โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
chaturbate-dvr  | โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—
chaturbate-dvr  | โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•
chaturbate-dvr  | โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—
chaturbate-dvr  | โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ• โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ• โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘
chaturbate-dvr  | โ•šโ•โ•โ•โ•โ•โ•   โ•šโ•โ•โ•โ•  โ•šโ•โ•  โ•šโ•โ•
chaturbate-dvr  | [2024-05-21 14:58:37] [INFO] [CHANNEL_USERNAME] channel created
chaturbate-dvr  | [2024-05-21 14:58:38] [INFO] [CHANNEL_USERNAME] channel is offline, check again 1 min(s) later
YamiOdymel commented 6 months ago

็„ถๅพŒๆˆ‘็œ‹ๅˆฐไฝ ๆไพ›็š„้Œฏ่ชค่จŠๆฏๅฏซ

failed to solve: failed to compute cache key: "/go.sun" not found: not found

ไฝ†ๅฏฆ้š›็š„ๆช”ๆกˆๅ็จฑๆ˜ฏ go.sum ่€Œไธๆ˜ฏ go.sun๏ผˆm ่ทŸ n ็š„ๅทฎๅˆฅ๏ผ‰๏ผŒไธ็Ÿฅ้“ๆ˜ฏไธๆ˜ฏๆœ‰ๆ‰“้Œฏ๏ผŸ

bigsam223 commented 6 months ago

thanks bro ,i'll try later

bigsam223 commented 6 months ago

Password: [+] Building 8.6s (7/10) => [internal] load build definition from Dockerfile 2.0s => => transferring dockerfile: 32B 0.0s => [internal] load .dockerignore 1.5s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/golang:latest 4.1s => [internal] load build context 1.0s => => transferring context: 687B 0.0s => CANCELED [1/6] FROM docker.io/library/golang:latest@sha256:f43c6f049f04cbbaeb28f0aad3eea15274a7d0a7899a 2.1s => => resolve docker.io/library/golang:latest@sha256:f43c6f049f04cbbaeb28f0aad3eea15274a7d0a7899a617d0037a 0.7s => => sha256:f43c6f049f04cbbaeb28f0aad3eea15274a7d0a7899a617d0037aec48d7ab010 9.74kB / 9.74kB 0.0s => => sha256:4304d944c421bb279ad1faada14d03ac7e7edca61793d2f6a7ad94681c457887 2.32kB / 2.32kB 0.0s => => sha256:5905f95343e84d1f8f14aff8f8b83747fb39ea0e0fad52a9d14cf41860295fff 2.83kB / 2.83kB 0.0s => => sha256:c6cf28de8a067787ee0d08f8b01d7f1566a508b56f6e549687b41dfd375f12c7 0B / 49.58MB 0.7s => => sha256:891494355808bdd3db5552f0d3723fd0fa826675f774853796fafa221d850d42 0B / 24.05MB 0.7s => CACHED [2/6] WORKDIR /usr/src/app 0.0s => ERROR [3/6] COPY go.mod go.sum ./ 0.0s

[3/6] COPY go.mod go.sum ./:

failed to solve: failed to compute cache key: "/go.sum" not found: not found

that's same...i dont know how to de...

bigsam223 commented 6 months ago

/dockerfile$ ls Dockerfile go.mod go.sum LICENSE main.go Makefile web.Dockerfile its my system error?

bigsam223 commented 6 months ago

i fix this. i use the other computer, its work!