docker-lemp-stack | Docker compose lemp stack | Continuous Deployment library
kandi X-RAY | docker-lemp-stack Summary
kandi X-RAY | docker-lemp-stack Summary
This is a development or(/and) production environment for PHP built in seperate docker containers, managed with docker-compose. The basic setup contains a LEMP stack (Linux, Nginx, MySQL and PHP). (MySQL is replaced by a MariaDB instance which is technically the same as MySQL, but with extra features and promises too be faster than MySQL).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-lemp-stack
docker-lemp-stack Key Features
docker-lemp-stack Examples and Code Snippets
Community Discussions
Trending Discussions on docker-lemp-stack
QUESTION
I try to set up local VPS with vagrant, and got docker installed and setup in this vm.
here is my Vagrantfile
...ANSWER
Answered 2018-Mar-19 at 10:19Now i am answering my own question again.. for development purpose seems i don't need to ssh into vagrant,
let's say i have this setting in my docker-compose.yml :
dl_db:
image: mysql:5.7
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=oemjih
restart: always
then i put this line in my vagrantfile
config.vm.network :forwarded_port, guest: 3306, host: 3306
and from my sqlyog panel i just accessing the db via tcp/ip with port:3306
as i mapped in as host port in my vagrantfile without ssh :
MySql Host Address: localhost
username : root
password : root
port : 3306
and i already put it here : https://github.com/vidihermes/Docker-LEMP-Stack
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docker-lemp-stack
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page