booplaysgba/docker-compose.yml

26 lines
441 B
YAML
Raw Normal View History

2021-11-09 20:02:14 +00:00
version: "3"
2021-11-09 17:19:55 +00:00
services:
server:
build:
context: .
2021-11-09 23:20:00 +00:00
entrypoint: poetry run python src/server.py
2021-11-09 17:19:55 +00:00
ports:
- 6789:6789
2021-11-09 19:56:57 +00:00
depends_on:
- "redis"
2021-11-09 17:19:55 +00:00
emulator:
build:
context: .
2021-11-09 23:20:00 +00:00
entrypoint: poetry run python src/emulator.py
2021-11-09 19:56:57 +00:00
depends_on:
- "rtmp"
- "redis"
2021-11-09 17:19:55 +00:00
redis:
image: "redis:alpine"
2021-11-09 19:56:57 +00:00
ports:
- 6379:6379
2021-11-09 17:19:55 +00:00
rtmp:
image: "tiangolo/nginx-rtmp"
ports:
- 1935:1935