Compare commits

..

12 Commits

Author SHA1 Message Date
Icedream 14edb2b1bb Update Node.js to 6.1.0. 2016-05-08 16:41:02 +02:00
Icedream 889c22aefc Update TS3Bot to 4ab1de5a5e. 2016-05-08 16:29:45 +02:00
Icedream de9bb6fad8 Update TS3Client to version 3.0.19.1. 2016-05-02 21:24:35 +02:00
Icedream 0127a08e3a Remove DOCKER_HUB_NETWORK_FAILS.txt
This file is no longer necessary, instead we manually retrigger the build from Docker Hub itself.
2016-04-15 00:36:26 +02:00
Icedream 10025fdca2 Update TS3Bot to 3212134e2c. 2016-04-15 00:35:07 +02:00
Icedream 60b115b619 Add "web interface" to planned features. 2016-04-10 22:39:06 +02:00
Icedream 6b60adfb38 Remove need to add SYS_NICE capability from readme. 2016-04-10 22:38:56 +02:00
Icedream fa25dfe662 Update TS3Bot to 0bca1a63ad. 2016-04-10 16:03:07 +02:00
Icedream 2151876085 Hacky fix for youtube-dl permissions. 2016-04-09 17:00:08 +02:00
Icedream cfaad888fb Upgrade to Node.js 5.10. 2016-04-09 16:34:13 +02:00
Icedream f1c8fbc00f Update TS3Bot to 264f07cf9b. 2016-04-09 16:33:36 +02:00
Icedream 016d9589fa Update TS3Bot to 3948c767e9 and TS3Client to 3.0.19. 2016-04-08 20:06:11 +02:00
4 changed files with 8 additions and 10 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
FROM node:5.6
FROM node:6.1.0
ENV TS3CLIENT_VERSION 3.0.18.2
ENV TS3BOT_COMMIT 92c66a6bbc07f5aa9d0d467458305bd657ca0b8f
ENV TS3CLIENT_VERSION 3.0.19.1
ENV TS3BOT_COMMIT 4ab1de5a5e5f969982b114713cac35265fda6ef0
# Add "app" user
RUN mkdir -p /tmp/empty &&\

View File

@ -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.
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.
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:
@ -53,8 +53,6 @@ bot:
image: icedream/ts3bot
volume:
- "<path to your config folder>:/config:ro"
cap_add:
- SYS_NICE
```
## Source code
@ -63,6 +61,7 @@ The main repository for the source code of the bot is available at [https://gith
## Planned features
- Web interface
- 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))
- Playlisting (ts3bot-control issue [#2](https://github.com/icedream/ts3bot-control/issues/2))

View File

@ -33,6 +33,9 @@ rm ./ts3client.run
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}"
# Fix for youtube-dl
chmod a+rx "$(dirname "$(readlink -f "$(which ts3bot)")")/node_modules/youtube-dl/bin/youtube-dl"
# Clean up APT
apt-get autoremove -y --purge wget cmake cmake-data
apt-get clean