mirror of
https://github.com/Dokploy/templates.git
synced 2026-11-08 02:09:55 -06:00
Refactor Minepanel docker-compose.yml to use environment variables for volume paths
Updated volume definitions to utilize BASE_DIR and DATA_DIR environment variables instead of hardcoded paths. Removed unnecessary volume declarations.
This commit is contained in:
@@ -11,8 +11,8 @@ services:
|
||||
- CLIENT_USERNAME=${CLIENT_USERNAME}
|
||||
- BASE_DIR=${BASE_DIR}
|
||||
volumes:
|
||||
- minepanel-servers:/app/servers
|
||||
- minepanel-data:/app/data
|
||||
- ${BASE_DIR}:/app/servers
|
||||
- ${DATA_DIR}:/app/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
frontend:
|
||||
@@ -23,7 +23,3 @@ services:
|
||||
- NEXT_PUBLIC_DEFAULT_LANGUAGE=${NEXT_PUBLIC_DEFAULT_LANGUAGE}
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
volumes:
|
||||
minepanel-servers:
|
||||
minepanel-data:
|
||||
|
||||
Reference in New Issue
Block a user