feat: run TFS in docker using docker-compose.yaml#4959
feat: run TFS in docker using docker-compose.yaml#4959gesior wants to merge 5 commits intootland:masterfrom
Conversation
|
Edit: also its |
|
@gesior phpmyadmin and mariadb are still missing the |
Maybe I'm missing something, but how mariadb/phpmyadmin can restart by itself? I'm developing local docker dev env. Not some cloud prod env, as nobody will every try to use TFS inside docker on prod.. for sure not using my |
|
For example when a power outage occurs. Right now only the tibia server would start again but not the database.
That's really a stupid reason not to add it tho, also it works like that for your local env too |
Maybe. Do we fix any real problem? Or you just report some cloud theoretical problems, that does not occur on local PC?
Can I test it somehow? I got simple scenario that this PR fixes: How can I test power outage scenario? As @yesits-me said. There are a lot of people trying to stall PRs for no real reason. I got Bluetooth power control (on/off) between UPS and PC with less that millisecond cut-out time, which drives my UPS and half of home electricity off pretty often (when it turns it on at the wrong ms of the 50Hz sine cycle, making it draw more than 10A). EDIT: |
|
It also applies if you turn off docker desktop. When you have |
|
@Shawak |
All is described in
docker/README.md.It's docker configuration made using
docker-compose.yaml.It starts TFS, MariaDB and phpMyAdmin inside containers.
You can connect to it from Tibia Client using URL
http://127.0.0.1:8080.It creates account with e-mail
tfs@tfsand passwordtfs.On account are characters
GODand 1 for each vocation.MariaDB runs on port
3307, not3306, to do not require to shutdown local MySQL/MariaDB. You can access it using loginrootand passwordroot.phpMyAdmin runs on port 8081, you can access it using http://127.0.0.1:8081/
EDIT:
To make it possible to login, these 2 PRs must be merged:
This code 'works' without these PRs, but TFS won't listen on
8080(HTTP), so to login into account in Tibia Client, you would need to setup acc. maker and use different login URL.