Updated files to be in compliance with testing resultUpdated files to be in compliance with testing results

This commit is contained in:
Hendrik Boll 2019-05-12 19:03:32 +02:00
parent abb1bec479
commit 1c36cef3fb
6 changed files with 6 additions and 4 deletions

View File

@ -10,7 +10,7 @@ services:
- MYSQL_USER=trackmania - MYSQL_USER=trackmania
- MYSQL_PASSWORD= - MYSQL_PASSWORD=
volumes: volumes:
- /db-data:/var/lib/mysql - ./db-data:/var/lib/mysql
pma: pma:
image: phpmyadmin/phpmyadmin image: phpmyadmin/phpmyadmin
container_name: trackmania_phpmyadmin container_name: trackmania_phpmyadmin
@ -50,6 +50,7 @@ services:
- tmserver - tmserver
restart: on-failure restart: on-failure
environment: environment:
- SERVER_SA_PASSWORD=
- DB_HOST=db - DB_HOST=db
- DB_LOGIN=trackmania - DB_LOGIN=trackmania
- DB_LOGIN_PASSWORD= - DB_LOGIN_PASSWORD=

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<playlist> <playlist>
<gameinfos> <gameinfos>
<game_mode>0</game_mode> <game_mode>1</game_mode>
<chat_time>10000</chat_time> <chat_time>10000</chat_time>
<finishtimeout>1</finishtimeout> <finishtimeout>1</finishtimeout>
<allwarmupduration>0</allwarmupduration> <allwarmupduration>0</allwarmupduration>

View File

@ -16,7 +16,7 @@ fi
if [[ -z "${MASTERADMIN_LOGIN}" ]] if [[ -z "${MASTERADMIN_LOGIN}" ]]
then then
echo "No ingame MasterAdmin was specified." echo "No ingame MasterAdmin was specified."
MASTERADMIN_LOGIN="" MASTERADMIN_LOGIN="_placeholder_"
fi fi
if [[ -z "${SERVER_SA_PASSWORD}" ]] if [[ -z "${SERVER_SA_PASSWORD}" ]]
then then

View File

@ -6,7 +6,7 @@
<!-- ipaddress can be specified to guard each login against --> <!-- ipaddress can be specified to guard each login against -->
<!-- unauthorized use of admin commands from other IP addresses --> <!-- unauthorized use of admin commands from other IP addresses -->
<!-- format: <!-- format:
<tmlogin>--$MASTERADMIN_LOGIN--</tmlogin> <ipaddress></ipaddress> <tmlogin>_placeholder_</tmlogin> <ipaddress></ipaddress>
--> -->
</masteradmins> </masteradmins>

View File

@ -9,6 +9,7 @@
CREATE TABLE IF NOT EXISTS `challenges` ( CREATE TABLE IF NOT EXISTS `challenges` (
`Id` mediumint(9) NOT NULL auto_increment, `Id` mediumint(9) NOT NULL auto_increment,
`Uid` varchar(27) NOT NULL default '', `Uid` varchar(27) NOT NULL default '',
`Date` datetime NOT NULL default '1970-01-01 00:00:00',
`Name` varchar(100) NOT NULL default '', `Name` varchar(100) NOT NULL default '',
`Author` varchar(30) NOT NULL default '', `Author` varchar(30) NOT NULL default '',
`Environment` varchar(10) NOT NULL default '', `Environment` varchar(10) NOT NULL default '',