Last active
March 7, 2019 13:54
-
-
Save gazmull/1d13c735c86de2598c701968afbc6bcd to your computer and use it in GitHub Desktop.
ramiel-bot - docker-compose for prebuilt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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