-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.services.yml
38 lines (36 loc) · 1.16 KB
/
docker-compose.services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# DOCKER OVERRIDE FILE:
# This is an override file. It is intended to be used on top of the base docker-compose.yml file.
#
# SUMMARY:
# 1. Rather than pull images from a container registry as done in the main docker-compose.yml,
# instead build the images locally
#
services:
database:
logging: !reset null # turn off logging
ports:
# For local dev, expose the database outside the docker network in case devs want to use
# a SQL client on their machine (e.g. HeidiSQL, etc)
# 5430 is for TalkyBot. AEGIS uses 5432, CODA, 5431
- "5431:5432"
mediamtx-mock:
build:
context: .
dockerfile: ./docker/mediamtx-mock/Dockerfile
container_name: mediamtx-mock
ports:
- "8888:8888" # HLS
- "9996:9996" # Playback API
- "9997:9997" # Control API
- "8554:8554" # RTSP in case we want to manually test
volumes:
- ./docker/mediamtx-mock/mediamtx.yml:/mediamtx.yml
- ./.local/mediamtx/recordings:/recordings
- ./.local/mediamtx/hls:/hls
restart: unless-stopped
# Don't start any of these services
nginx: !reset null
apiv1: !reset null
oauth2-proxy: !reset null
redis: !reset null