Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support global nginx-proxy container #24

Merged
merged 5 commits into from
Aug 24, 2018
Merged

Support global nginx-proxy container #24

merged 5 commits into from
Aug 24, 2018

Conversation

kirtangajjar
Copy link
Contributor

@kirtangajjar kirtangajjar commented Aug 23, 2018

Companion PR of - EasyEngine/easyengine#1187
Adds a global network block in docker-compose and connects nginx server to it.

Earlier it used to be that there was a single network per site and nginx-proxy was connected to it.
Now there is a special ee-global-network network. All nginx containers of all sites will be connected to it and there will be seperate site-name network in which all containers of same site will connect.

This PR also fixes an issue that I came up in testing in which site creation was not failing with proper error message when wp core download failed.

Signed-off-by: Kirtan Gajjar kirtangajjar95@gmail.com

Signed-off-by: Kirtan Gajjar <kirtangajjar95@gmail.com>
@kirtangajjar kirtangajjar self-assigned this Aug 23, 2018
@kirtangajjar kirtangajjar changed the title Support global nginx-proxy container WIP: Support global nginx-proxy container Aug 23, 2018
Modify docker-compose mustache to support multiple network
Remove external property on site-network block

Signed-off-by: Kirtan Gajjar <kirtangajjar95@gmail.com>
Signed-off-by: Kirtan Gajjar <kirtangajjar95@gmail.com>
Signed-off-by: Kirtan Gajjar <kirtangajjar95@gmail.com>
Signed-off-by: Kirtan Gajjar <kirtangajjar95@gmail.com>
@kirtangajjar kirtangajjar changed the title WIP: Support global nginx-proxy container Support global nginx-proxy container Aug 24, 2018
@rahulsprajapati rahulsprajapati merged commit 407b6a4 into EasyEngine:develop Aug 24, 2018
@kirtangajjar kirtangajjar deleted the global-docker-compose branch September 6, 2018 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants