Get Started ¶
Important Configuration Note with Non-SSL Setups ¶
If you're running LeoMoon Wiki-Go without SSL/HTTPS and experiencing login issues, you need to set allow_insecure_cookies: true
in your config.yaml
file. This is because:
- By default, LeoMoon Wiki-Go sets the "Secure" flag on cookies for security
- Browsers reject "Secure" cookies on non-HTTPS connections
- This prevents login from working properly on HTTP-only setups
Security Note: Only use this setting in development or in trusted internal networks. For public-facing wikis, always use HTTPS.
Docker (quick test) ¶
# Pull the latest image
docker pull leomoonstudios/wiki-go
# Run with default configuration
docker run -d \
--name wiki-go \
-p 8080:8080 \
-v "$(pwd)/data:/wiki/data" \
leomoonstudios/wiki-go
Using Docker Compose (recommended) ¶
services:
wiki-go:
image: leomoonstudios/wiki-go
container_name: wiki-go
user: 1000:1000
ports:
- "8080:8080"
volumes:
- ./data:/wiki/data
environment:
- PUID=1000
- PGID=1000
restart: unless-stopped
Binary ¶
Download the latest release for your platform from the GitHub Releases page.
# Run the application
./wiki-go # or wiki-go.exe on Windows
Build from Source ¶
Requirements:
- Go 1.21 or later
- Git
# Clone the repository
git clone https://github.com/leomoon-studios/wiki-go.git
cd wiki-go
# Build the binary
go build -o wiki-go
# Run the application
./wiki-go # or wiki-go.exe on Windows
Comments
Please login to leave a comment.
No comments yet. Be the first to comment!