Split embed.go with build tags so builds work without data files (embed_nodata.go provides empty fallbacks, embed_data.go embeds real data when built with -tags embed_data). Add Woodpecker CI pipeline (format/lint/build), release pipeline (goreleaser + Docker), Containerfile, docker-compose.yml, and goreleaser config. Update Makefile with format/lint targets and embed_data tag on build targets. Rename project from terraria-item-tree to terraria-companion throughout. Fix all errcheck lint warnings in fetcher.go and server.go. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
313 B
YAML
12 lines
313 B
YAML
services:
|
|
terraria-companion:
|
|
image: git.nakama.town/fmartingr/terraria-companion:latest
|
|
container_name: terraria-companion
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- ./data:/app/data:ro
|
|
- ./public/icons:/app/public/icons:ro
|
|
environment:
|
|
- PORT=3000
|