Compare commits
	
		
			3 Commits
		
	
	
		
			f4aae5f578
			...
			3ea80eda6c
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 3ea80eda6c | |||
| b53c19929a | |||
| d4f49c7637 | 
							
								
								
									
										9
									
								
								2do.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								2do.txt
									
									
									
									
									
										Normal 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.
 | 
				
			||||||
@@ -30,13 +30,13 @@
 | 
				
			|||||||
	// ------------------------ \\
 | 
						// ------------------------ \\
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// phpmyadmin username for OT server: (DONT USE "root" if you are hosting to public).
 | 
						// 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:
 | 
						// phpmyadmin password for OT server:
 | 
				
			||||||
	$config['sqlPassword'] = 'tfs13';
 | 
						$config['sqlPassword'] = 'forgotten';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// The database name to connect to. (This is usually same as username).
 | 
						// 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.
 | 
						// Hostname is usually localhost or 127.0.0.1.
 | 
				
			||||||
	$config['sqlHost'] = '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?
 | 
						// What client version and server port are you using on this OT?
 | 
				
			||||||
	// Used for the Downloads page.
 | 
						// Used for the Downloads page.
 | 
				
			||||||
	$config['client'] = 1098; // 954 = client 9.54
 | 
						$config['client'] = 792; // 954 = client 9.54
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Download link to client.
 | 
						// Download link to client.
 | 
				
			||||||
	$config['client_download'] = 'http://tibiaclient.otslist.eu/download/tibia'. $config['client'] .'.exe';
 | 
						$config['client_download'] = 'http://tibiaclient.otslist.eu/download/tibia'. $config['client'] .'.exe';
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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 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 \
 | 
					RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
 | 
				
			||||||
  --mount=type=cache,target=/var/lib/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 useradd -m -s /bin/bash tibia 
 | 
				
			||||||
RUN echo "tibia:tibia" | chpasswd
 | 
					RUN echo "tibia:tibia" | chpasswd
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user