Post by compmuseme » Thu Oct 21, 2021 2:18 am

https://github.com/dabbmedia/docker-compose-opencart

I set up this docker-compose file to create a stack for local OpenCart development, since Docker is lighter weight than Vagrant and/or VirtualBox instances.

The current version uses Nginx. Most of the code for Apache is commented out, but should work with minor adjustments.

Why?
-work on Twig template or code files without uploading after every change
-build the site locally before uploading/publishing/going-live
-test an extension on a clean install of OpenCart
-several other reasons that currently escape me

I hope it's useful to someone else.

Brent/dabbmedia/compmuseme


Newbie

Posts

Joined
Wed Nov 30, 2011 12:39 am

Post by rjcalifornia » Mon Oct 25, 2021 10:03 pm

compmuseme wrote:
Thu Oct 21, 2021 2:18 am
https://github.com/dabbmedia/docker-compose-opencart

I set up this docker-compose file to create a stack for local OpenCart development, since Docker is lighter weight than Vagrant and/or VirtualBox instances.

The current version uses Nginx. Most of the code for Apache is commented out, but should work with minor adjustments.

Why?
-work on Twig template or code files without uploading after every change
-build the site locally before uploading/publishing/going-live
-test an extension on a clean install of OpenCart
-several other reasons that currently escape me

I hope it's useful to someone else.
Nice!

I've been using Vagrant for some time, which it easier to set up for beginners. I do prefer Nginx for docker, because if you use Apache you might have to change the settings to allow CORS.

About uploading/updating, I resolved that using Visual Studio Code connected directly to the Vagrant folder.

Image
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide
Who is online

Users browsing this forum: No registered users and 16 guests