Skip to content

Instantly share code, notes, and snippets.

@gazmull
Last active March 7, 2019 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gazmull/1d13c735c86de2598c701968afbc6bcd to your computer and use it in GitHub Desktop.
Save gazmull/1d13c735c86de2598c701968afbc6bcd to your computer and use it in GitHub Desktop.
ramiel-bot - docker-compose for prebuilt
version: "3"
services:
ramiel-server:
container_name: lavalink
image: fredboat/lavalink:b5fe889b
restart: on-failure:3
network_mode: host
volumes:
- ./application.yml:/opt/Lavalink/application.yml
- ./logs:/opt/Lavalink/logs
# Unlikely to be, but if it comes to hosting Ramiel as a big girl (serving a large amount of ~~villagers~~ guilds), increasing the allocated ~~contraceptives~~ memory is a must.
# Change -Xmx to your prefered size. E.g: -Xmx2G for 2GB memory allocated.
entrypoint: java -Xmx512m -jar Lavalink.jar
ramiel-client:
container_name: ramiel
image: gazmull/ramiel-bot:latest
restart: on-failure:3
environment:
NODE_ENV: production
network_mode: host
volumes:
- ./auth.js:/ramiel-client/auth.js
- ./logs:/ramiel-client/logs
# Put the server below in comments if you don't want to receive updates from the base image
watchtower:
image: v2tec/watchtower
restart: on-failure:3
volumes:
- /var/run/docker.sock:/var/run/docker.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment