Compare commits
3 Commits
docker
...
4670e02981
| Author | SHA1 | Date | |
|---|---|---|---|
| 4670e02981 | |||
| d23e1a5d8d | |||
| 00160897b1 |
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[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"] }
|
lavalink-rs = { version = "0.14", features = ["serenity", "tungstenite-rustls-native-roots"] }
|
||||||
tokio = { version = "1.44", features = ["full"] }
|
tokio = { version = "1.44", features = ["full"] }
|
||||||
dotenv = "0.15"
|
dotenv = "0.15"
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
# docker-compose.yml
|
# docker-compose.yml
|
||||||
|
|
||||||
version: '3.8'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# The Rust Discord Bot Service
|
# The Rust Discord Bot Service
|
||||||
app:
|
app:
|
||||||
@@ -26,9 +23,9 @@ services:
|
|||||||
working_dir: /opt/lavalink
|
working_dir: /opt/lavalink
|
||||||
# Mount the local Lavalink.jar and application.yml into the container
|
# Mount the local Lavalink.jar and application.yml into the container
|
||||||
volumes:
|
volumes:
|
||||||
- ./Lavalink.jar:/opt/lavalink/Lavalink.jar:ro # Mount Jar read-only
|
- ./Lavalink.jar:/opt/lavalink/Lavalink.jar:ro,Z # Mount Jar read-only
|
||||||
- ./application.yml:/opt/lavalink/application.yml:ro # Mount config read-only
|
- ./application.yml:/opt/lavalink/application.yml:ro,Z # Mount config read-only
|
||||||
- ./logs:/opt/lavalink/logs # Mount logs directory (optional)
|
- ./logs:/opt/lavalink/logs:Z # Mount logs directory (optional)
|
||||||
# Expose the LavaLink port to the host machine (optional, but useful for debugging)
|
# Expose the LavaLink port to the host machine (optional, but useful for debugging)
|
||||||
# and makes it reachable by the 'app' service via Docker network.
|
# and makes it reachable by the 'app' service via Docker network.
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user