3e4b97e2625c0bd8458345c2d22d0cbd49aa6b62
go.mod requires Go 1.25+, but Dockerfile was still using golang:1.22-alpine as the builder image. This caused CI build failure: "go.mod requires go >= 1.25.0 (running go 1.22.12)"
MrixsCraft Server
Minecraft серверная часть на Go (net/http + PostgreSQL).
Сборка
go build -o mrixscraft-server ./cmd/server
Запуск
export SERVER_PORT=8080
export DATABASE_URL="postgres://user:pass@localhost:5432/mrixscraft"
go run ./cmd/server
Переменные окружения
| Переменная | Описание | По умолчанию |
|---|---|---|
SERVER_PORT |
Порт HTTP-сервера | 8080 |
DATABASE_URL |
DSN PostgreSQL | — |
Description
Languages
Go
65.6%
HTML
34%
Dockerfile
0.4%