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 {
67
67
val release by creating {
68
68
dependsOn(clean, check)
69
69
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"
71
71
doLast {
72
72
var newVersion = version
73
73
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
20
20
# scp docker-compose-production.yml $server:./docker-compose.yml
21
21
ssh $server ' sudo docker pull localhost:5000/swc_game-server' && \
22
22
# 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 {
86
86
include(" ?ocker*" )
87
87
include(" logback-production.xml" )
88
88
include(" server.properties.production" )
89
+ rename(" logback-production.xml" , " logback.xml" )
89
90
into(workingDir)
90
91
}
91
92
}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ ADD $game_server_dir /app
9
9
WORKDIR /app
10
10
# the following files from the configuration directory will be copied to the
11
11
# docker working directory before build
12
- ADD logback-production .xml /app/logback-production .xml
12
+ ADD logback.xml /app/logback.xml
13
13
# This will be overwritten by the docker secret with the real password in production:
14
14
ADD server.properties.production /run/secrets/gameserver_properties
15
15
RUN rm /app/server.properties && \
@@ -18,7 +18,6 @@ RUN rm /app/server.properties && \
18
18
ENTRYPOINT ["java" ]
19
19
20
20
CMD ["-Dfile.encoding=UTF-8" , \
21
- "-Dlogback.configurationFile=logback-production.xml" , \
22
21
"-Djava.security.egd=file:/dev/./urandom" , \
23
22
"-server" , \
24
23
"-Xmx16g" , \
You can’t perform that action at this time.
0 commit comments