Add docker-compose.yml
This commit is contained in:
parent
2258a6bb5b
commit
2960d76ead
2 changed files with 13 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
server
|
12
docker-compose.yml
Normal file
12
docker-compose.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
version: "3.8"
|
||||
|
||||
services:
|
||||
webserver:
|
||||
build: .
|
||||
container_name: mcsd
|
||||
restart: always
|
||||
stop_grace_period: 10s
|
||||
volumes:
|
||||
- ./server:/data
|
||||
ports:
|
||||
- 25565:25565
|
Loading…
Reference in a new issue