2021-11-09 17:19:55 +00:00
|
|
|
version: "3.9"
|
|
|
|
services:
|
|
|
|
server:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
target: server
|
|
|
|
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: .
|
|
|
|
target: emulator
|
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
|
|
|
|
|
|
|
|
# build mgba dans le conteuneur car broken path sinon
|