Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

easy docker w/ docker-compose setup for LAMP stack w/ Ansible for AWS and Nodejs

Notifications You must be signed in to change notification settings

andrew-werdna/DockerLampWithAnsibleAndNode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

DockerLampWithAnsibleAndNode

(Docker/PHP/MariaDB/Ansible/NodeJS) easy setup


NOTE: If you are not going to use ansible just remove the ansible service from the compose file. OR if you are not doing anything with AWS just remove the second volume from the ansible section

Also included:

For Windows users who have to use docker-machine there is a bash script to help with creation/host finagling

bash scripts/machine.sh -m <machine name here> -h <host name here> -a create
bash scripts/machine.sh -m <machine name here> -h <host name here> -a destroy
bash scripts/machine.sh -m <machine name here> -h <host name here> -a start
bash scripts/machine.sh -m <machine name here> -h <host name here> -a stop

^ this will automatically add/remove the machine's IP address to your hosts file

Once you're up and running, you should just go to <your host name>:8000 (or whatever port you specified in your server run command)

Don't forget to change your MariaDB cred info in the docker-compose!

Have fun!

About

easy docker w/ docker-compose setup for LAMP stack w/ Ansible for AWS and Nodejs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published