Skip to content

Commit

Permalink
docs: docker instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Erb3 committed Apr 10, 2024
1 parent 1a18f4e commit f1eb5d8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

A geography game inspired by [Posio](https://github.com/abrenaut/posio), written in 🔥🚀Rust.

## Deployment

Sveio is available as a docker image. If you use `docker run` you can run the following to start it:

```bash
docker run -d -p 8085:8085 --env-file=.env ghcr.io/erb3/sveio:main
```

Alternatively, you can use the following docker compose:

```yml
services:
sveio:
container_name: sveio
image: ghcr.io/erb3/sveio:main
ports:
- 8085:8085
restart: unless-stopped
env_file:
- .env
```
## Configuration
The server uses the following environmental variables, and it also parses the .env file if present:
Expand Down

0 comments on commit f1eb5d8

Please sign in to comment.