Skip to content

Commit

Permalink
Updated webrcon
Browse files Browse the repository at this point in the history
  • Loading branch information
Dids committed Jan 18, 2017
1 parent 69746d5 commit 81096ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ RUN rm -fr /usr/share/nginx/html/* && \

# Install webrcon (specific commit)
COPY nginx_rcon.conf /etc/nginx/nginx.conf
RUN curl -sL https://github.com/Facepunch/webrcon/archive/38c33be89e7c1731607ff7305ede847c95e528de.zip | bsdtar -xvf- -C /tmp && \
mv /tmp/webrcon-38c33be89e7c1731607ff7305ede847c95e528de/* /usr/share/nginx/html/ && \
rm -fr /tmp/webrcon-38c33be89e7c1731607ff7305ede847c95e528de
RUN curl -sL https://github.com/Facepunch/webrcon/archive/26e8ce7cfd75292a3209dbdad4b221af55683341.zip | bsdtar -xvf- -C /tmp && \
mv /tmp/webrcon-26e8ce7cfd75292a3209dbdad4b221af55683341/* /usr/share/nginx/html/ && \
rm -fr /tmp/webrcon-26e8ce7cfd75292a3209dbdad4b221af55683341

# Customize the webrcon package to fit our needs
ADD fix_conn.sh /tmp/fix_conn.sh
Expand Down
4 changes: 2 additions & 2 deletions docker_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
./docker_build.sh

# Run a vanilla server
docker run -p 0.0.0.0:28015:28015 -p 0.0.0.0:28015:28015/udp -p 28016:28016 -p 0.0.0.0:8080:8080 -m 2g -v $(pwd)/rust_data_vanilla:/steamcmd/rust -e RUST_START_MODE=2 -e RUST_UPDATE_CHECKING=1 -e RUST_BRANCH="public" -e RUST_UPDATE_BRANCH="public" --name rust-server -d didstopia/rust-server:latest
docker run -p 0.0.0.0:28015:28015 -p 0.0.0.0:28015:28015/udp -p 28016:28016 -p 0.0.0.0:8080:8080 -m 2g -v $(pwd)/rust_data_vanilla:/steamcmd/rust -e RUST_START_MODE=2 -e RUST_UPDATE_CHECKING=1 -e RUST_BRANCH="public" -e RUST_UPDATE_BRANCH="public" --name rust-server -it --rm didstopia/rust-server:latest

docker logs -f rust-server
#docker logs -f rust-server

0 comments on commit 81096ee

Please sign in to comment.