FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
MCSManager/example.docker-compose.yml at master · MCSManager/MCSManager · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
MCSManager
/
MCSManager
Public
Notifications
You must be signed in to change notification settings
Fork
549
Star
4.9k
Code
Issues
140
Pull requests
0
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
MCSManager
/
example.docker-compose.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
32 lines (31 loc) · 1.3 KB
Breadcrumbs
MCSManager
/
example.docker-compose.yml
Copy path
File metadata and controls
32 lines (31 loc) · 1.3 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
docker-compose.yml
services
:
web
:
image
:
githubyumao/mcsmanager-web:latest
ports
:
-
"
23333:23333
"
volumes
:
-
/etc/timezone:/etc/timezone:ro
-
/etc/localtime:/etc/localtime:ro
-
<CHANGE_ME_TO_INSTALL_PATH>/web/data:/opt/mcsmanager/web/data
-
<CHANGE_ME_TO_INSTALL_PATH>/web/logs:/opt/mcsmanager/web/logs
-
<CHANGE_ME_TO_INSTALL_PATH>/web/public/upload_files:/opt/mcsmanager/web/public/upload_files
daemon
:
image
:
githubyumao/mcsmanager-daemon:latest
restart
:
unless-stopped
network_mode
:
host
#
if you want run instance in daemon container
#
ports:
#
- "24444:24444"
environment
:
-
MCSM_DOCKER_WORKSPACE_PATH=<CHANGE_ME_TO_INSTALL_PATH>/daemon/data/InstanceData
#
Rootless Docker (Linux): set DOCKER_HOST to your user socket path
#
- DOCKER_HOST=unix:///run/user/1000/docker.sock
volumes
:
-
/etc/timezone:/etc/timezone:ro
-
/etc/localtime:/etc/localtime:ro
-
<CHANGE_ME_TO_INSTALL_PATH>/daemon/data:/opt/mcsmanager/daemon/data
-
<CHANGE_ME_TO_INSTALL_PATH>/daemon/logs:/opt/mcsmanager/daemon/logs
#
Rootful Docker (default):
-
/var/run/docker.sock:/var/run/docker.sock
#
Rootless Docker (Linux): replace the line above with:
#
- /run/user/1000/docker.sock:/run/user/1000/docker.sock
Back
|
FazBrowse Home
|
New Git URL