Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yandeu committed Jul 11, 2023
1 parent c54183c commit 3668969
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,12 @@ docker run -p 3000:3000/tcp -p 10000-10007:10000-10007/udp geckos-chat-app
```
docker run --pull always -p 3000:3000/tcp -p 10000-10007:10000-10007/udp yandeu/geckos.io-simple-chat-app:latest
```

## Multiple docker containers

Run two docker containers with different ports.

```bash
docker run --pull always -d -p 3000:3000/tcp -p 10000:10000/udp -e PORT_RANGE_MIN=10000 -e PORT_RANGE_MAX=10000 yandeu/geckos.io-simple-chat-app:latest
docker run --pull always -d -p 3001:3000/tcp -p 10001:10001/udp -e PORT_RANGE_MIN=10001 -e PORT_RANGE_MAX=10001 yandeu/geckos.io-simple-chat-app:latest
```

0 comments on commit 3668969

Please sign in to comment.