mkdir escape-game
There are 2 different ways to deploy:
Prerequisites: docker, docker compose
NOTE Assumes deploying with 'nginx proxy manager', on the
nginx-default
network
First we need to create an environment file with the default api hostname
echo "OLLAMA_API_HOST=ollama" >> .env
curl https://raw.githubusercontent.com/Doozy134/escape/main/docker-compose-gpu.yml > docker-compose.yml
docker compose up -d
curl https://raw.githubusercontent.com/Doozy134/escape/main/docker-compose.yml > docker-compose.yml
docker compose up -d
You need to now install Mistral within the Ollama Container.
docker exec -it ollama sh
# once inside the container pull the manifest
ollama pull mistral
- Add a new proxy host
- Request an SSL
You need to install ollama, for example on linux:
curl -fsSL https://ollama.com/install.sh | sh
Now we need to download the correct model
ollama pull mistral
In a separate terminal, run ollama run mistral
Then in a different terminal we can use node to run the frontend:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser