I have the following docker compose file. When I run “docker-compose up”, I get > ERROR: The Compose file ‘./docker-compose.yml’ is invalid because:
Unsupported config option for services.server: ‘oom-kill-disable’
I thought this feature was added in Add support for oom_kill_disable in service config · docker/compose@80503da · GitHub
I also tried using oom-kill-disable
version: “3”
services:
server:
build: .
ports:
- “5000:5000”
# - “5432:5432”
volumes:
- “.:/code”
environment:
- PORT=5000
network_mode: host
oom_kill_disable: true
deploy:
resources:
limits:
memory: 8G