InAnimaTe / docker-quake3

A Quake 3 dedicated server container :)
https://hub.docker.com/r/inanimate/quake3/
45 stars 20 forks source link

old docker-compose format doesn't allow health checks #2

Open chadmiller opened 4 years ago

chadmiller commented 4 years ago

Maybe something like this?

version: "3.3"
services:
    quake3:
        image: inanimate/quake3
        restart: always
        hostname: docker-q3
        ports:
           - "27960:27960/udp"
        volumes:
           - baseq3/:/usr/share/games/quake3/baseq3/
           - server.cfg:/usr/share/games/quake3/baseq3/server.cfg
        healthcheck:
           test: ["CMD", "ps", "-C", "ioq3ded"]