Compare commits
2 Commits
918b837067
...
b7268bdfad
Author | SHA1 | Date | |
---|---|---|---|
b7268bdfad | |||
95f086454f |
2
build.sh
2
build.sh
@@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
go build -o bin/main src/main.go
|
go build -o bin/main src/main.go
|
||||||
go build -o bin/cmd src/cmd.go
|
go build -o bin/cmd src/cmd.go
|
||||||
sudo docker build -t minecraft .
|
sudo docker build -t magmise/minecraft .
|
||||||
|
@@ -3,7 +3,7 @@ version: '3.7'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
minecraft:
|
minecraft:
|
||||||
image: minecraft
|
image: magmise/minecraft
|
||||||
container_name: minecraft
|
container_name: minecraft
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
@@ -11,19 +11,6 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 25565:25565
|
- 25565:25565
|
||||||
volumes:
|
volumes:
|
||||||
- /home/jimmy/misc/paper/:/server
|
- ./server/:/server
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
|
|
||||||
minecraft2:
|
|
||||||
image: minecraft
|
|
||||||
container_name: minecraft2
|
|
||||||
restart: unless-stopped
|
|
||||||
environment:
|
|
||||||
MAX_MEM: 1G
|
|
||||||
ports:
|
|
||||||
- 25566:25565
|
|
||||||
volumes:
|
|
||||||
- /home/jimmy/misc/paper2/:/server
|
|
||||||
stdin_open: true
|
|
||||||
tty: true
|
|
Reference in New Issue
Block a user