Skip to content

Commit

Permalink
[chore][SRE-362]: setup resource limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Pattarapon Theanthong committed Dec 13, 2023
1 parent bab41b8 commit 7a39ad4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .deployment/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ services:
- ome_edge:/opt/ovenmediaengine/bin/edge_conf
- ome_logs:/var/log/ovenmediaengine
ports:
- "9999:9999/udp"
- "3478:3478"
- "10000-10009:10000-10009/udp"
- "1935:1935" # RTMP
- "4000-4999:4000-4999/udp" # WebRTC, MPEG-TS, SRT
- "4000-4999:4000-4999/tcp" # WebRTC, MPEG-TS, SRT
- "8081:8081"
- "8080:8080" # HTTP
- "39000:9000" # HTTPS
#- "39000:9000" # HTTPS
- "8081:8081"
- "3333:3333" # OVT
#- "9999:9999/udp"
#- "10000-10009:10000-10009/udp"
# - "4000-4999:4000-4999/udp" # WebRTC, MPEG-TS, SRT
# - "4000-4999:4000-4999/tcp" # WebRTC, MPEG-TS, SRT
env_file:
- ./.env.compose
restart: unless-stopped
Expand All @@ -40,9 +40,9 @@ services:
deploy:
resources:
reservations:
cpus: '2'
cpus: '1.5'
memory: 2048M
limits:
cpus: '2.5'
cpus: '2'
memory: 3072M

0 comments on commit 7a39ad4

Please sign in to comment.