A
A
Alexey Abramenko2017-08-19 05:28:22
linux
Alexey Abramenko, 2017-08-19 05:28:22

How to implement docker nginx-proxy+(apache/nginx ?)+ssl+php7-fpm+mariadb?

Good day!
I want to deploy infrastructure on the server for developing and testing sites, as well as for storing a couple of working sites. To do this, I chose docker with a bunch of nginx + ssl-> php7-fpm-> mariadb. After reading a lot of documentation, some questions arose that I can not figure out.
1. If I use a bunch of nginx-proxy containers -> (containers with apache / nginx sites?) + ssl-> php7-fpm-> mariadb, then, as I understand it, point to docker containers with sites (5-7 sites) will need in nginx-proxy ? Or do I not understand something?
2.Based on the first question. There is a server on debian 8. There are two network cards on the server, the first one includes the Internet, the second one distributes it to the LAN and to the server, dnsmasq is also raised on the server. How can I access the sites from the first question (test.com, test2.com) deployed in docker containers (nginx-proxy ->(containers with apache/nginx sites?)+ssl->php7-fpm->mariadb)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sanes, 2017-08-19
@Sanes

Make a regular LXC container, if such problems. Your configuration is assembled in 2 clicks .

R
rustler2000, 2017-08-19
@rustler2000

https://github.com/nanoninja/docker-nginx-php-mysql

V
Victor Taran, 2017-08-19
@shambler81

for Windows
openserver
for Linux
vestacp
ipsconfig3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question