Compare commits

...

3 Commits

Author SHA1 Message Date
3ea80eda6c Nu 2do 2025-02-27 21:35:31 +01:00
b53c19929a Hard-code DB credentials to ZnoteAAC 2025-02-27 21:34:35 +01:00
d4f49c7637 Install php-apcu module 2025-02-27 21:16:09 +01:00
3 changed files with 14 additions and 5 deletions

9
2do.txt Normal file
View File

@ -0,0 +1,9 @@
2do list:
Critical:
- When phpmyadmin install-script generates a password, it doesnt match with the password stored in '/etc/phpmyadmin/config-db.php'.
Refactor:
- Remove phpmyadmin dependencies written in install-script. Dependencies should be in the dockerfile. (Also make a copy of the original script).
- Check for more phpmyadmin errors. Proper php.ini tweaking?
- Tweak /var/www/ZnoteAAC/config.php properly.

View File

@ -30,13 +30,13 @@
// ------------------------ \\
// phpmyadmin username for OT server: (DONT USE "root" if you are hosting to public).
$config['sqlUser'] = 'tfs13';
$config['sqlUser'] = 'forgottenserver';
// phpmyadmin password for OT server:
$config['sqlPassword'] = 'tfs13';
$config['sqlPassword'] = 'forgotten';
// The database name to connect to. (This is usually same as username).
$config['sqlDatabase'] = 'tfs13';
$config['sqlDatabase'] = 'forgottenserver';
// Hostname is usually localhost or 127.0.0.1.
$config['sqlHost'] = '127.0.0.1';
@ -637,7 +637,7 @@
// What client version and server port are you using on this OT?
// Used for the Downloads page.
$config['client'] = 1098; // 954 = client 9.54
$config['client'] = 792; // 954 = client 9.54
// Download link to client.
$config['client_download'] = 'http://tibiaclient.otslist.eu/download/tibia'. $config['client'] .'.exe';

View File

@ -2,7 +2,7 @@ FROM debian:bullseye
RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
apt update && apt-get upgrade -y && apt-get install -y git cmake build-essential libluajit-5.1-dev libmariadb-dev-compat libboost-date-time-dev libboost-system-dev libboost-iostreams-dev libpugixml-dev libcrypto++-dev libfmt-dev zlib1g-dev libgmp-dev libboost-all-dev curl iproute2 apache2 mariadb-client mariadb-server bash-completion vim php
apt update && apt-get upgrade -y && apt-get install -y git cmake build-essential libluajit-5.1-dev libmariadb-dev-compat libboost-date-time-dev libboost-system-dev libboost-iostreams-dev libpugixml-dev libcrypto++-dev libfmt-dev zlib1g-dev libgmp-dev libboost-all-dev curl iproute2 apache2 mariadb-client mariadb-server bash-completion vim php php-apcu
RUN useradd -m -s /bin/bash tibia
RUN echo "tibia:tibia" | chpasswd