-
Notifications
You must be signed in to change notification settings - Fork 269
Feat/minepanel template #656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
01818a0
337622d
9dab48f
eb087fe
3f3c2f1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,28 @@ | ||||||||||||
| services: | ||||||||||||
| backend: | ||||||||||||
| image: ketbom/minepanel-backend:1.7.1 | ||||||||||||
| restart: unless-stopped | ||||||||||||
| environment: | ||||||||||||
| - NODE_ENV=production | ||||||||||||
| - FRONTEND_URL=${FRONTEND_URL} | ||||||||||||
| - JWT_SECRET=${JWT_SECRET} | ||||||||||||
| - CLIENT_PASSWORD=${CLIENT_PASSWORD} | ||||||||||||
| - CLIENT_USERNAME=${CLIENT_USERNAME} | ||||||||||||
| - BASE_DIR=${BASE_DIR} | ||||||||||||
| volumes: | ||||||||||||
| - minepanel-servers:/app/servers | ||||||||||||
| - minepanel-data:/app/data | ||||||||||||
|
||||||||||||
| - minepanel-data:/app/data | |
| - minepanel-data:/app/data | |
| # WARNING: Mounting the Docker socket grants this container full control over the Docker daemon | |
| # on the host, including the ability to create, stop, and remove containers. Only enable this | |
| # if you understand and accept the security implications. |
Copilot
AI
Jan 16, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the coding guidelines, Docker image versions must be verified before use. The guideline states: 'Always verify image exists using docker manifest inspect <image:tag> before committing.' Please verify that the image ketbom/minepanel-frontend:1.7.1 exists on Docker Hub using the manifest inspect command.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| [variables] | ||
| main_domain = "${domain}" | ||
| jwt_secret = "${base64:32}" | ||
| client_username = "admin" | ||
| client_password = "${password:16}" | ||
| default_language = "en" | ||
|
|
||
| [config] | ||
| mounts = [] | ||
|
|
||
| [[config.domains]] | ||
| serviceName = "frontend" | ||
| port = 3_000 | ||
| host = "${main_domain}" | ||
|
|
||
| [[config.domains]] | ||
| serviceName = "backend" | ||
| port = 8_091 | ||
| host = "api-${main_domain}" | ||
|
|
||
| [config.env] | ||
| JWT_SECRET = "${jwt_secret}" | ||
| CLIENT_USERNAME = "${client_username}" | ||
| CLIENT_PASSWORD = "${client_password}" | ||
| FRONTEND_URL = "http://${main_domain}" | ||
| NEXT_PUBLIC_BACKEND_URL = "http://api-${main_domain}" | ||
|
||
| NEXT_PUBLIC_DEFAULT_LANGUAGE = "${default_language}" | ||
| BASE_DIR = "/app" | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the coding guidelines, Docker image versions must be verified before use. The guideline states: 'Always verify image exists using
docker manifest inspect <image:tag>before committing.' Please verify that the imageketbom/minepanel-backend:1.7.1exists on Docker Hub using the manifest inspect command.