services: qwhvh2: build: . container_name: qwhvh restart: unless-stopped mem_limit: 1g # hard cap the container to use at most 1 GB RAM mem_reservation: 256m # soft target to keep it around 256 MB dns: # pin explicit DNS servers for the container (more in pt 3. Known issues) - 1.1.1.1 - 8.8.8.8 ports: - "27500:27500/udp" # Quake World (mandatory) 27500 is standard but you may choose your own #- "28000:28000/tcp" # QuakeTV (optional) volumes: - ./id1:/qw/id1:ro,Z