Inital commit
This commit is contained in:
18
templates/docker-compose.yml
Normal file
18
templates/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
service:
|
||||
mc:
|
||||
image: itzg/minecraft-server:latest
|
||||
container_name: {{.Name}}
|
||||
tty: true
|
||||
stdin_open: true
|
||||
ports:
|
||||
{{range .Ports}}- "{{.In}}:{{.Out}}"
|
||||
{{end}}
|
||||
environment:
|
||||
EULA: "TRUE"
|
||||
VERSION: "{{.Version}}"
|
||||
TYPE: {{.Type}}
|
||||
MEMORY: "{{.Ram}}"
|
||||
MOTD: "{{.MOTD}}"
|
||||
volumes:
|
||||
- ./data:/data
|
||||
restart: "{{.RestartPolicy}}"
|
||||
Reference in New Issue
Block a user