add posio

This commit is contained in:
L4RM4ND 2024-03-09 03:42:25 +01:00
parent beb34aad09
commit 80c58d889a
3 changed files with 34 additions and 1 deletions

View File

@ -418,7 +418,7 @@ A request bin service allows one to collect and inspect HTTP requests. It may be
Multiplayer game servers, browser games and utilities for managing game servers. Multiplayer game servers, browser games and utilities for managing game servers.
- [cs2-dedicated-server](examples/cs2-dedicated-server) - CS2 Dedicated Server Docker Image with an RCON web-based control panel. - [cs2-dedicated-server](examples/cs2-dedicated-server) - CS2 Dedicated Server Docker Image with an RCON web-based control panel.
- [posio](examples/posio) - A multiplayer geography game using Websockets.
### Miscellaneous ### Miscellaneous

4
examples/posio/README.md Normal file
View File

@ -0,0 +1,4 @@
# References
- https://github.com/abrenaut/posio (original)
- https://github.com/l4rm4nd/posio (fork with docker image)

View File

@ -0,0 +1,29 @@
version: '3.3'
services:
posio:
image: l4rm4nd/posio:latest
container_name: posio
restart: unless-stopped
ports:
- 5000:5000/tcp
expose:
- 5000/tcp
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/posio/data:/posio
environment:
- POSIO_SETTINGS=/app/posio/config.py
- FLASK_APP=/app/posio/game_master.py
#networks:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.docker.network=proxy
# - traefik.http.routers.posio.rule=Host(`posio.example.com`)
# - traefik.http.services.posio.loadbalancer.server.port=5000
# # Optional part for traefik middlewares
# - traefik.http.routers.posio.middlewares=local-ipwhitelist@file
#networks:
# proxy:
# external: true