Commit graph

11 commits

Author SHA1 Message Date
95dc02aed5
Docker tweaks 2021-09-13 13:05:22 -05:00
e6e1ca61d3
Reverting dockerfiles since they seem to be causing issues for people 2021-05-13 21:56:14 -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
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