mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-12-18 00:00:19 +00:00
add posio
This commit is contained in:
parent
beb34aad09
commit
80c58d889a
|
@ -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
|
||||
|
||||
|
|
4
examples/posio/README.md
Normal file
4
examples/posio/README.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
# References
|
||||
|
||||
- https://github.com/abrenaut/posio (original)
|
||||
- https://github.com/l4rm4nd/posio (fork with docker image)
|
29
examples/posio/docker-compose.yml
Normal file
29
examples/posio/docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user