Added docker-compose example to readme

This commit is contained in:
roxedus committed 2019-07-27 02:30:50 +02:00
1 parent 2bae6bd5b4
commit bf47202636
1 file changed
+30
+30
View File
@@ -19,3 +19,33 @@
> python -m pip install -r requirements.txt
6. run the bot :)
#### Docker
#### Compose Example:
````yaml
version: '3'
networks:
internal:
driver: bridge
services:
backbone:
hostname: lavalink
image: fredboat/lavalink:dev
ports:
- 2333:2333
networks:
internal:
aliases:
- lavalink
volumes:
- /compose/BottStack/lavalink/application.yml:/opt/Lavalink/application.yml
bot:
container_name: ProdMaster
image: rnorge/music
networks:
- internal
command: python3 bot.py
volumes:
- /compose/BottStack/ProdBetaMaster/script:/diks
- /compose/BottStack/ProdBetaMaster/data:/app/data
````