diff --git a/docker-compose.yml b/docker-compose.yml index 4403e7d..fbe03a6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: bash -c "sed -i 's/lagcompmode 1/lagcompmode ${LagCompMode}/' server.cfg && sed -i 's/maxplayers 30/maxplayers ${MaxPlayers}/' server.cfg && sed -i 's/port 7777/port ${Port}/' server.cfg - && sed -i 's/password/password ${ServerPassword}/' server.cfg + && sed -i 's/^password/password ${ServerPassword}/' server.cfg && ./omp-server" ports: - ${Port}:${Port}/udp