Compare commits

...

2 Commits

2 changed files with 4 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
serenity = { version = "0.12", features = ["builder", "cache", "client", "gateway", "model", "framework", "standard_framework", "http", "rustls_backend", "voice", "collector", "interactions"] }
serenity = { version = "0.12", features = ["builder", "cache", "client", "gateway", "model", "http", "rustls_backend", "voice", "collector"] }
lavalink-rs = { version = "0.14", features = ["serenity", "tungstenite-rustls-native-roots"] }
tokio = { version = "1.44", features = ["full"] }
dotenv = "0.15"

View File

@@ -1,7 +1,4 @@
# docker-compose.yml
version: '3.8'
services:
# The Rust Discord Bot Service
app:
@@ -26,9 +23,9 @@ services:
working_dir: /opt/lavalink
# Mount the local Lavalink.jar and application.yml into the container
volumes:
- ./Lavalink.jar:/opt/lavalink/Lavalink.jar:ro # Mount Jar read-only
- ./application.yml:/opt/lavalink/application.yml:ro # Mount config read-only
- ./logs:/opt/lavalink/logs # Mount logs directory (optional)
- ./Lavalink.jar:/opt/lavalink/Lavalink.jar:ro,Z # Mount Jar read-only
- ./application.yml:/opt/lavalink/application.yml:ro,Z # Mount config read-only
- ./logs:/opt/lavalink/logs:Z # Mount logs directory (optional)
# Expose the LavaLink port to the host machine (optional, but useful for debugging)
# and makes it reachable by the 'app' service via Docker network.
ports: