diff --git a/README.md b/README.md index 93f1ee4..94796a5 100644 --- a/README.md +++ b/README.md @@ -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. - [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 diff --git a/examples/posio/README.md b/examples/posio/README.md new file mode 100644 index 0000000..ed6a666 --- /dev/null +++ b/examples/posio/README.md @@ -0,0 +1,4 @@ +# References + +- https://github.com/abrenaut/posio (original) +- https://github.com/l4rm4nd/posio (fork with docker image) diff --git a/examples/posio/docker-compose.yml b/examples/posio/docker-compose.yml new file mode 100644 index 0000000..6c5a13c --- /dev/null +++ b/examples/posio/docker-compose.yml @@ -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