mirror of https://github.com/icedream/ts3bot.git
Compare commits
12 Commits
Author | SHA1 | Date |
---|---|---|
|
14edb2b1bb | |
|
889c22aefc | |
|
de9bb6fad8 | |
|
0127a08e3a | |
|
10025fdca2 | |
|
60b115b619 | |
|
6b60adfb38 | |
|
fa25dfe662 | |
|
2151876085 | |
|
cfaad888fb | |
|
f1c8fbc00f | |
|
016d9589fa |
|
@ -1,4 +0,0 @@
|
||||||
# This text file is just a counter for how often Docker Hub failed to build our image for TS3Bot due to networking issues since Oct 19, 2015.
|
|
||||||
# This became necessary to retrigger the build just for the current branch instead of having to trigger the build from Docker Hub for ALL branches instead.
|
|
||||||
# Let's hope this counter will never reach 100...
|
|
||||||
2
|
|
|
@ -1,7 +1,7 @@
|
||||||
FROM node:5.6
|
FROM node:6.1.0
|
||||||
|
|
||||||
ENV TS3CLIENT_VERSION 3.0.18.2
|
ENV TS3CLIENT_VERSION 3.0.19.1
|
||||||
ENV TS3BOT_COMMIT 92c66a6bbc07f5aa9d0d467458305bd657ca0b8f
|
ENV TS3BOT_COMMIT 4ab1de5a5e5f969982b114713cac35265fda6ef0
|
||||||
|
|
||||||
# Add "app" user
|
# Add "app" user
|
||||||
RUN mkdir -p /tmp/empty &&\
|
RUN mkdir -p /tmp/empty &&\
|
||||||
|
|
|
@ -44,7 +44,7 @@ This is the Docker image that contains everything necessary to run Icedream's TS
|
||||||
Note that you can generate the URL for `ts3-server` using your TS3 client via Extras > Invite friend, select the checkbox "Channel" and select "ts3server link" as invitation type.
|
Note that you can generate the URL for `ts3-server` using your TS3 client via Extras > Invite friend, select the checkbox "Channel" and select "ts3server link" as invitation type.
|
||||||
4. Generate an identity in your TeamSpeak3 client (Settings > Identities > Add), set the nickname to the nickname you want the bot to have and optionally increase the security level to the level needed for your bot to join the server.
|
4. Generate an identity in your TeamSpeak3 client (Settings > Identities > Add), set the nickname to the nickname you want the bot to have and optionally increase the security level to the level needed for your bot to join the server.
|
||||||
5. Export the identity you just generated via the "Export" button. Save it as `identity.ini` and put it into your configuration folder from earlier. You can now delete the identity from your TS3 client.
|
5. Export the identity you just generated via the "Export" button. Save it as `identity.ini` and put it into your configuration folder from earlier. You can now delete the identity from your TS3 client.
|
||||||
6. Now set up a container with your configuration folder mounted at `/config`. The command for this would be: `docker run -d -v "<path to your config folder>:/config:ro" --cap-add SYS_NICE icedream/ts3bot`
|
6. Now set up a container with your configuration folder mounted at `/config`. The command for this would be: `docker run -d -v "<path to your config folder>:/config:ro" icedream/ts3bot`
|
||||||
|
|
||||||
Alternatively instead of running a `docker` command you can use [Docker Compose](https://docs.docker.com/compose/). A typical `docker-compose.yml` for this would be:
|
Alternatively instead of running a `docker` command you can use [Docker Compose](https://docs.docker.com/compose/). A typical `docker-compose.yml` for this would be:
|
||||||
|
|
||||||
|
@ -53,8 +53,6 @@ bot:
|
||||||
image: icedream/ts3bot
|
image: icedream/ts3bot
|
||||||
volume:
|
volume:
|
||||||
- "<path to your config folder>:/config:ro"
|
- "<path to your config folder>:/config:ro"
|
||||||
cap_add:
|
|
||||||
- SYS_NICE
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Source code
|
## Source code
|
||||||
|
@ -63,6 +61,7 @@ The main repository for the source code of the bot is available at [https://gith
|
||||||
|
|
||||||
## Planned features
|
## Planned features
|
||||||
|
|
||||||
|
- Web interface
|
||||||
- Timestamping/skip intros (ts3bot-control issue [#3](https://github.com/icedream/ts3bot-control/issues/3))
|
- Timestamping/skip intros (ts3bot-control issue [#3](https://github.com/icedream/ts3bot-control/issues/3))
|
||||||
- Volume adjustment (ts3bot-control issue [#5](https://github.com/icedream/ts3bot-control/issues/5))
|
- Volume adjustment (ts3bot-control issue [#5](https://github.com/icedream/ts3bot-control/issues/5))
|
||||||
- Playlisting (ts3bot-control issue [#2](https://github.com/icedream/ts3bot-control/issues/2))
|
- Playlisting (ts3bot-control issue [#2](https://github.com/icedream/ts3bot-control/issues/2))
|
||||||
|
|
3
setup.sh
3
setup.sh
|
@ -33,6 +33,9 @@ rm ./ts3client.run
|
||||||
npm_config_wcjs_runtime="node" npm_config_wcjs_runtime_version="$(node --version | tr -d 'v')" \
|
npm_config_wcjs_runtime="node" npm_config_wcjs_runtime_version="$(node --version | tr -d 'v')" \
|
||||||
npm install --unsafe-perm -g "https://github.com/icedream/ts3bot-control#${TS3BOT_COMMIT}"
|
npm install --unsafe-perm -g "https://github.com/icedream/ts3bot-control#${TS3BOT_COMMIT}"
|
||||||
|
|
||||||
|
# Fix for youtube-dl
|
||||||
|
chmod a+rx "$(dirname "$(readlink -f "$(which ts3bot)")")/node_modules/youtube-dl/bin/youtube-dl"
|
||||||
|
|
||||||
# Clean up APT
|
# Clean up APT
|
||||||
apt-get autoremove -y --purge wget cmake cmake-data
|
apt-get autoremove -y --purge wget cmake cmake-data
|
||||||
apt-get clean
|
apt-get clean
|
||||||
|
|
Loading…
Reference in New Issue