Commit graph

6 commits

Author SHA1 Message Date
8483cff28f Added liblqr to dockerfiles 2021-01-20 20:20:04 -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
elitwo
9febf3f9d2
Ensure npm has access to package.json. (#31)
This is a common issue, and I ran into it while installing esmBot. For me, and probably others npm throws a permissions error while building, and no packages will be installed. Simply chown the package.json to the node:node user, and this will work again.
2020-12-22 17:20:05 -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