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

(question) Can I migrate apache2 image to php-fpm + nginx image? #618

Closed
seonghobae opened this issue Jan 24, 2019 · 2 comments
Closed

(question) Can I migrate apache2 image to php-fpm + nginx image? #618

seonghobae opened this issue Jan 24, 2019 · 2 comments
Labels

Comments

@seonghobae
Copy link

Hello all,
Can I migrate apache2 image to php-fpm + nginx image?
Because I have too high loads caused by the apache2 web server, that makes me crazy. The apache2 sessions too heavy to me. That's why I want to switch existing image to php-fpm.
If not, How can I migrate them manually?

My environment is

Linux 4.4.0-141-generic #167-Ubuntu SMP Wed Dec 5 10:40:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
PostgreSQL 11.1 (Ubuntu 11.1-1.pgdg16.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609, 64-bit

Best,
Seongho

@J0WI
Copy link
Contributor

J0WI commented Jan 28, 2019

Sure you can switch. Just make sure that you are using persistent volumes for all your apps, configs, data etc. While the Debian based fpm variant should work out of the box, you need to adjust permissions for fpm-alpine (they use a different uid for www-data).
You can find some examples here: https://github.com/nextcloud/docker/tree/master/.examples/docker-compose

@J0WI J0WI added the question label Jan 28, 2019
@J0WI
Copy link
Contributor

J0WI commented Feb 1, 2019

See also #601

@J0WI J0WI closed this as completed Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants