This is designed to be a self-hosted set of games for playing with friends and family in your household and/or with access to your network (Cloudflare Tunnels, etc).
- Tic-Tac-Toe
- Memory
- Connect Four / Four in a Row
- Based off of @csharpfritz repository found at https://github.com/csharpfritz/BlazorConnectFour
Install Docker (https://docs.docker.com/get-docker/) and then run:
docker run --name family-games -p 6000:8080 -e ASPNETCORE_ENVIRONMENT=Production -e ASPNETCORE_URLS=http://+:8080 knight0323/family-games:latest --restart=unless-stopped
Using the above example, you should be able to navigate to the site using: http://localhost:6000
NOTE: You may want to pull a specific version 1.0.1
instead of latest
.
Change ContainerImageTags
to latest version on publish.
docker login
dotnet publish --os linux --arch x64 -c Release -p:PublishProfile=DefaultContainer -p:ContainerImageTags='"1.0.1;latest"' -p:ContainerRegistry=docker.io