TheGamesDB / TheGamesDBv2

Version 2 of TGDB
https://thegamesdb.net/
GNU General Public License v3.0
54 stars 16 forks source link

Added docker compose development environment #37

Open pburggraf opened 1 year ago

pburggraf commented 1 year ago

Since no development environment is provided, I have created one based on docker compose.

This is based on a prebuilt image of webdevops and uses the Apache web server in combination with PHP 7.0 and MariaDB 10.5. I was not sure which PHP version is used in production, so I took the lowest one that still works with the composer packages used. But I would prefer to upgrade to a higher, and maintained PHP version.

In the included readme it is also described which credentials are used for the database.

If you want to use this development environment you only have to copy the config and the database files and run a composer install in. but this is also described in the readme.

pete-oconnell commented 1 year ago

@pburggraf Live is running on PHP 8.2.1

pburggraf commented 1 year ago

Thank you for this information! This is a more up-to-date version than I thought. The docker-compose.yml has been updated to reflect this.

pburggraf commented 1 year ago

Since nothing has happened here so far, I assume that there is no interest in the PR. I leave them open, but will not make any further changes or updates

pete-oconnell commented 1 year ago

@pburggraf I have reached out on discord but I thought I would ping you on here too. As soon as we sort out permissions on here we will be looking to merge this after some testing.