fixing root permissions inside container
CI/CD / build (push) Successful in 44s
CI/CD / deploy (push) Successful in 15s

This commit is contained in:
2026-07-10 01:22:46 +02:00
parent 25cbe3bd56
commit cab8f32542
+5
View File
@@ -25,6 +25,11 @@ services:
image: ghcr.io/lavalink-devs/lavalink:4
container_name: lavalink
restart: unless-stopped
# A mounted volume at /opt/Lavalink/plugins is created root-owned (the image
# has no plugins dir for Docker to copy ownership from), but Lavalink runs as
# a non-root user and can't write there. Run as root so it can download the
# plugin jars into the volume. The container is internal-only.
user: "0:0"
env_file:
- .env
environment: