diff --git a/Dockerfile b/Dockerfile index bd8f5f7..ea395ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -73,5 +73,4 @@ EXPOSE 3979/udp WORKDIR /data ENV XDG_DATA_HOME=/data VOLUME ["/data"] -ENTRYPOINT ["nano", "~/data.dat"] -#["/usr/bin/openttd", "-D", "-g", "map.sav"] +ENTRYPOINT ["/usr/bin/openttd", "-D", "-g", "map.sav"] diff --git a/docker-compose.yml b/docker-compose.yml index 61e2046..ec864d5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,8 @@ services: ottd: build: ./ container_name: ottd + volumes: + - "/media/data/openttd:/data2" ports: - "3979:3979" labels: