Go to file
2025-07-02 21:39:42 -05:00
.idea/.idea.SessionZero/.idea Init 2025-06-29 21:20:04 -05:00
SessionZero Added advanced section and fixed linter 2025-07-02 21:39:42 -05:00
.dockerignore test docker stuff 2025-07-01 23:23:12 -05:00
.gitignore Init 2025-06-29 21:20:04 -05:00
5e_template.szf Seperation of szf generator. Updated test page 2025-07-01 00:37:38 -05:00
design-doc.md Preparing for datasets screen, laying out specifications better 2025-06-30 15:26:17 -05:00
docker-compose.yml fix docker maybe 2025-07-01 23:50:40 -05:00
Dockerfile test docker stuff 2025-07-01 23:23:12 -05:00
global.json Init 2025-06-29 21:20:04 -05:00
new-szf-docs.md Begin on dataset management screens 2025-07-01 22:21:04 -05:00
nginx.conf fix docker maybe 2025-07-01 23:50:40 -05:00
old-react-datasets.txt test docker stuff 2025-07-01 23:23:12 -05:00
README.docker.md fix docker maybe 2025-07-01 23:50:40 -05:00
run-remote.sh fix docker maybe 2025-07-01 23:50:40 -05:00
SessionZero.sln Init 2025-06-29 21:20:04 -05:00
technical-specifications.md Szf parsing 2025-06-30 22:51:23 -05:00
todo.md Created character szf object. More seperation by removing the enum from ZsfObject and using reflection for szf object types. 2025-07-01 09:35:28 -05:00

SessionZero Docker Deployment Guide

This guide explains how to build and deploy the SessionZero Blazor WebAssembly PWA using Docker.

Prerequisites

  • Docker installed on your machine
  • Docker Compose installed on your machine (optional, but recommended)
  1. Navigate to the project root directory (where the docker-compose.yml file is located)

  2. Run the following command to build and start the container:

    docker-compose up -d --build
    
  3. Access the application at http://localhost:80

Building and Running with Docker CLI

  1. Navigate to the project root directory (where the Dockerfile is located)

  2. Build the Docker image:

    docker build -t sessionzero .
    
  3. Run the container:

    docker run -d -p 80:80 --name sessionzero-app sessionzero
    
  4. Access the application at http://localhost:80

Stopping the Container

With Docker Compose

docker-compose down

With Docker CLI

docker stop sessionzero-app
docker rm sessionzero-app

Troubleshooting

  • If you encounter any issues with the container not starting, check the logs:

    docker logs sessionzero-app
    
  • Make sure port 80 is not being used by another application on your host machine. Note that port 80 often requires administrative privileges on most operating systems since it's a privileged port.

  • If the application doesn't work as expected, verify that all files were copied correctly by inspecting the container:

    docker exec -it sessionzero-app sh
    ls -la /usr/share/nginx/html