Jump to content
TNG Community

Fully automated install with docker (V15)


dolfs

Recommended Posts

I have created a few files to allow a fully automated install with Docker. It has been tested with V15, but may well work with other versions. You can find it at https://github.com/dolfs/tng-docker

The premise is to clone the repository, download your TNG files as a zip archive, and put it in that same directory, edit a ".env" file for configuration (it can work with defaults), and run "docker compose up". You will not need to access the "readme.html" form and configure settings there. More flexibility is available. Please take a look at the README.

It will create two containers, one for the MySQL database and another for TNG. You will also see a remnant container (tng_init), which is only used once for configuration.

P.S. Even when not using Docker, you can copy the ".env" file, the "tng_init.sh" file, and the ZIP archive to a server of your choice (typically the "/var/www/html" directory), log in, and execute the "tng_init.sh" script and not have to do the "readme.html" thing. Files will be unpacked, permissions updated, and the configuration will be completed.

Enjoy!

Link to comment
Share on other sites

No. It only really depends on the functionality of ajx_tnginstall.php so as long as that hasn’t changed it should work. Since spinning up an instance this way only takes about 2 minutes I can try v14 later today. 

Link to comment
Share on other sites

I have now tested with V14 (I don't have access to older versions; I'm unsure why this is the case if you have paid for a higher version). I had to make a small modification (fewer templates available). Everything is updated accordingly.

Link to comment
Share on other sites

  • 9 months later...

i have been pulling my hair out trying to get the docker install to work.  Have set it all up according to the directions. 

Run the docker install and all the containers build, and all the containers are running and healthy.

When I try an access TNG i get a message it can not access the Data Base.

I installed PhpMyAdmin as well and I can connect to the database with it.  There is a TNG database created but no tables in the database.

Any idea of what i am doing wrong and how I can trouble shoot the issue.

I am just learning Docker.  Have always just installed on Ubuntu server in the past.

with that said I have several containers up and running on this server.

Any help you can provide would be greatly appreciated.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...