Skip to content

Commit

Permalink
[TASK] Update dedicated version.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvlk committed Feb 11, 2018
1 parent e6dc452 commit aac11a4
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3.7
MAINTAINER Tom Valk <tomvalk@lt-box.info>

ENV DEDICATED_URL http://files.v04.maniaplanet.com/server/ManiaplanetServer_2017-11-17.zip
ENV DEDICATED_URL http://files.v04.maniaplanet.com/server/ManiaplanetServer_2018-02-09.zip
ENV PROJECT_DIR /dedicated
ENV TEMPLATE_DIR /dedicated-configs
WORKDIR /dedicated
Expand Down
38 changes: 36 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,42 @@ A machine with Docker engine.

### Directly from CLI

todo
We advice you to use the docker-compose method. CLI is not documented.

### In docker-compose file

todo
Env file:

```
LOGIN=dedicated_login
PASSWORD=dedicated_password
TITLE=TMStadium@nadeo
TITLE_PACK_URL=https://v4.live.maniaplanet.com/ingame/public/titles/download/TMStadium@nadeo.Title.Pack.gbx
TITLE_PACK_FILE=TMStadium@nadeo.Title.Pack.gbx
MATCH_SETTINGS=MatchSettings/default.txt
```


Docker-compose entry:

```
dedicated:
image: pyplanet/maniaplanet-dedicated
restart: always
env_file: ./dedicated_vars.env
volumes:
- ./UserData:/dedicated/UserData
- ./Logs:/dedicated/Logs
expose:
- "2350"
- "2350/udp"
- "3450"
- "3450/udp"
- "5000"
ports:
- 5000:5000
- 2350:2350
- "2350/udp"
- "3450"
- "3450/udp"
```

0 comments on commit aac11a4

Please sign in to comment.