Skip to content

petterhj/docker-openttd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-openttd

Docker image for running a dedicated OpenTTD server - (un)shamefully based on bateau84/openttd.

docker build \
    --build-arg OPENTTD_VERSION="12.1" \
    --build-arg OPENGFX_VERSION="7.1" \
    --tag openttd:latest .

docker run \
    --name openttd \
    -p 3979:3979/tcp \
    -p 3979:3979/udp \
    -e PUID=1024 \
    -e PGID=100 \
    -v /path/.openttd:/home/openttd/.openttd \
    -d openttd:latest