62 lines
2.4 KiB
YAML
62 lines
2.4 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
lavalink:
|
|
image: ghcr.io/lavalink-devs/lavalink:latest
|
|
container_name: lavalink
|
|
restart: unless-stopped
|
|
environment:
|
|
- _JAVA_OPTIONS=-Xmx1G
|
|
- SERVER_PORT=2333
|
|
volumes:
|
|
## Use "./" if you want to create a mount from your current directory (where docker-compose.yml is located)
|
|
## Having access to files INSIDE the container is complicated. Mount function is used to have access to certain container files or folders.
|
|
## Read more: https://docs.docker.com/storage/bind-mounts/
|
|
- ./application.yml:/opt/Lavalink/application.yml
|
|
networks:
|
|
- local
|
|
expose:
|
|
- "2333"
|
|
|
|
# # You can selfhost MongoDB. Just uncomment lines starting with single "#" below.
|
|
# mongo:
|
|
# image: mongo:latest
|
|
# container_name: mongo
|
|
# restart: unless-stopped
|
|
# volumes:
|
|
# # Use "./" if you want to create a mount from your current directory (where docker-compose.yml is located)
|
|
# # Having access to files INSIDE the container is complicated. Mount function is used to have access to certain container files or folders.
|
|
# # Read more: https://docs.docker.com/storage/bind-mounts/
|
|
# - ./data/mongo/db:/data/db
|
|
# - ./data/mongo/conf:/data/configdb
|
|
# environment:
|
|
# - MONGO_INITDB_ROOT_USERNAME=admin
|
|
# - MONGO_INITDB_ROOT_PASSWORD=admin
|
|
# expose:
|
|
# - "27017"
|
|
# networks:
|
|
# - local
|
|
# command: ["mongod", "--oplogSize=1024", "--wiredTigerCacheSizeGB=1", "--auth", "--noscripting"]
|
|
|
|
vocard:
|
|
image: ghcr.io/chocomeow/vocard:v2.6.8
|
|
container_name: vocard
|
|
volumes:
|
|
## Use "./" if you want to create a mount from your current directory (where docker-compose.yml is located)
|
|
## Having access to files INSIDE the container is complicated. Mount function is used to have access to certain container files or folders.
|
|
## Read more: https://docs.docker.com/storage/bind-mounts/
|
|
- ./settings.json:/app/settings.json
|
|
env_file:
|
|
- .env
|
|
depends_on:
|
|
lavalink:
|
|
condition: service_started
|
|
# mongo:
|
|
# condition: service_started
|
|
networks:
|
|
- local
|
|
|
|
networks:
|
|
local:
|
|
name: local
|