Commit graph

15 commits

Author SHA1 Message Date
c0dbb2f733
Moved to cmake.js, updated packages 2021-12-30 22:45:32 -06:00
38e5a1d9f2
Change image API port, added TLS support, fixed content-type header 2021-12-02 18:01:33 -06:00
e6e1ca61d3
Reverting dockerfiles since they seem to be causing issues for people 2021-05-13 21:56:14 -05:00
08ecfc7d10 Forgot to remove this 2021-05-10 23:01:16 -05:00
2b810c7c86 Re-add image job timeout, split dockerfiles, removed api from docker-compose, more fixes 2021-05-10 22:59:19 -05:00
b7fe04c82b Added reddit, catch any errors in native functions 2021-04-26 09:47:03 -05:00
362a0c0d80 Install libvips in the Dockerfiles 2021-03-04 09:05:19 -06:00
928eb7fa16 Fixed API Dockerfile 2021-02-25 14:11:03 -06:00
8483cff28f Added liblqr to dockerfiles 2021-01-20 20:20:04 -06:00
7a254a5139 Added load-based api node selection 2020-12-25 20:27:45 -06:00
67a7a71547 More docker fixes 2020-12-25 09:47:22 -06:00
b73fd3d91b A couple of dockerfile fixes 2020-12-24 21:32:15 -06:00
a1c24ea30d Allow sound player to start even if some nodes are down, docker maintenance 2020-12-11 16:46:05 -06:00
Jake Stanger
c6b7e6629c
Add docker-compose file (#27)
* feat: add docker-compose file

* refactor: lower docker-compose version

* feat(docker-compose): add help docs and image dir, fix lavalink

* fix(docker): missing ffmpeg dependency

* fix(docker): compile imagemagick with pango support

This fixes commands such as `meme` causing the bot to crash, since Alpine does not have a pango-enabled version of IM7 in its repos.

* feat(docker): cache npm dependencies

By copying just the `package-(lock).json` and installing dependencies, Docker will cache the deps on subsequent builds.

* fix(docker-compose): need to adjust connection addresses

The MongoDB and Chrome addresses are automatically passed through with the correct value. A separate `servers.json` file specifically for docker-compose is used with the correct container addresses.

Each container has a static ip - this is due to an unfortunate limitation of the Chrome remote debugger, which needs either an IP or `localhost`, and refuses connections to a hostname.

* refactor(docker): do not include servers.json for compose

Compose will use the normal `servers.json` and users will have to change the hostnames to `lavalink` and `api` respectively.
2020-12-07 20:40:17 -06:00
8393f599b0 Added Dockerfile for api, allow bot to be run via npm start 2020-09-26 11:23:27 -05:00