File tree Expand file tree Collapse file tree 5 files changed +4
-4
lines changed
src/main/java/sc/server/network Expand file tree Collapse file tree 5 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ tasks {
6767 val release by creating {
6868 dependsOn(clean, check)
6969 group = " distribution"
70- description = " Prepares a new Release by bumping the version and creating and pushing a commit tagged with the new version"
70+ description = " Prepares a new Release by bumping the version and pushing a commit tagged with the new version"
7171 doLast {
7272 var newVersion = version
7373 fun String.editVersion (version : String , new : Int ) =
Original file line number Diff line number Diff line change @@ -20,4 +20,4 @@ ssh -S ssh-ctrl-socket -O exit $server
2020# scp docker-compose-production.yml $server:./docker-compose.yml
2121ssh $server ' sudo docker pull localhost:5000/swc_game-server' && \
2222# NOTE This requires the other services (client-controller and gameserver) in the compose file also already deployed
23- ssh $server ' sudo docker service update --image localhost:5000/swc_game-server:latest --with-registry-auth deploy_gameserver '
23+ ssh $server ' sudo docker service update --image localhost:5000/swc_game-server:latest --with-registry-auth contest_gameserver '
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ tasks {
8686 include(" ?ocker*" )
8787 include(" logback-production.xml" )
8888 include(" server.properties.production" )
89+ rename(" logback-production.xml" , " logback.xml" )
8990 into(workingDir)
9091 }
9192 }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ ADD $game_server_dir /app
99WORKDIR /app
1010# the following files from the configuration directory will be copied to the
1111# docker working directory before build
12- ADD logback-production .xml /app/logback-production .xml
12+ ADD logback.xml /app/logback.xml
1313# This will be overwritten by the docker secret with the real password in production:
1414ADD server.properties.production /run/secrets/gameserver_properties
1515RUN rm /app/server.properties && \
@@ -18,7 +18,6 @@ RUN rm /app/server.properties && \
1818ENTRYPOINT ["java" ]
1919
2020CMD ["-Dfile.encoding=UTF-8" , \
21- "-Dlogback.configurationFile=logback-production.xml" , \
2221 "-Djava.security.egd=file:/dev/./urandom" , \
2322 "-server" , \
2423 "-Xmx16g" , \
You can’t perform that action at this time.
0 commit comments