docker run -t --rm \
-u <UID>:<GID> \
-v </path/to/recdir>:/save \
-v </path/to/logdir>:/log \
-e TZ=Asia/Shanghai \
-e <VAR>=<value> \
... \
kfermercer/ctbcap [options...] <Username|URL>
-u <UID>:<GID>Allows you to specify the user (UID) and group (GID) that the container will run as. For example,-u 0:0will run the container as root.
If you don't specify-u, the container will running as1000:1000.
Use-u $(id -u):$(id -g)to use your current UID and GID.
services:
modelname_1: &ctbcap-cfg # Change to Model's Username (optional).
image: kfermercer/ctbcap:latest # Mirror: ghcr.io/kfermercer/ctbcap:latest
user: 1000:1000 # <UID>:<GID>. Specify the user (UID) and group (GID) that the ctbcap will run as.
restart: unless-stopped
environment: &ctbcap-env
MODEL: <Username|URL> # Change this value.
PLATFORM: chaturbate # What platform are model streaming at. choose "chaturbate" or "stripchat".
TZ: Asia/Shanghai # Naming saved files & logs by using this timezone. See <https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List>.
CUT_TIME: 3600 # Used as number of seconds to cut recording file in real time. Don't cut if set to 0.
EDGING_MODE: "uncle makes me pee white" # Edging Mode. Inactive if not 1. Delay initial requests to servers to avoid time-specific request waves caused by large-scale deployments.
DEBUG_MODE: "your mom is so hot" # Debug Mode. Inactive if not 1.
NOBANNER: 1 # Disable banner display (recommend).
volumes:
- /path/to/recdir:/save # Recorded files save path mapping.
- /path/to/logdir:/log # Log files save path mapping.
#
# Watching more model with add more blocks:
#
# Only need modifying values that different from template.
modelname_2:
<<: *ctbcap-cfg
# user: 1000:1000
# restart: unless-stopped
environment:
<<: *ctbcap-env
MODEL: <Username|URL>
# PLATFORM: chaturbate
# TZ: Asia/Shanghai
# CUT_TIME: 3600
# EDGING_MODE: "uncle makes me pee white"
# DEBUG_MODE: "your mom is so hot"
# NOBANNER: 1
# volumes:
# - /path/to/recdir:/save
# - /path/to/logdir:/log
modelname_3:
<<: *ctbcap-cfg
environment:
<<: *ctbcap-env
MODEL: <Username|URL>
# Run as background daemon:
docker compose -f ./ctbcap-compose.yml up -d --remove-orphans
# Check the status of the daemon:
docker compose -f ./ctbcap-compose.yml logs -f
# Stop & remove the daemon:
docker compose -f ./ctbcap-compose.yml down --remove-orphans
| Variables | Value Type | Value Examples | Default | Recommend to Change |
|---|---|---|---|---|
| MODEL | Streamer's Username or Chatroom URL | 3rd8008 s1mp_L0r3-87 https://chaturbate.com/your_sister https://stripchat.com/dicklessman ... | - | Yes |
| PLATFORM | chaturbate or stripchat | chaturbate stripchat | chaturbate | Yes, if not Chaturbate. |
| EDGING_MODE | Inactive if not 1 | 1 12306 ... | uncles make me pee white | Yes, if the streamer is currently offline. |
| TZ | TZ identifier | UTC Asia/Shanghai Africa/Harare ... | UTC | No, if you live in Greenwich. |
| CUT_TIME | INT | 0 911 6324 ... | 3600 | No |
| DEBUG_MODE | Inactive if not 1 | 1 -999 i was born from my sis ... | your mom is so hot | No |
| NOBANNER | Inactive if not 1 | 1 well, that reminds me ... | ^>vvv (Docker CLI) 1 (Compose file) | No |
(. )( .)
Content type
Image
Digest
sha256:2948a7322…
Size
8.4 MB
Last updated
4 days ago
docker pull kfermercer/ctbcap