Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

inject custom php ini and custom nginx conf files #179

Closed
abda11ah opened this issue Jan 2, 2025 · 1 comment
Closed

inject custom php ini and custom nginx conf files #179

abda11ah opened this issue Jan 2, 2025 · 1 comment

Comments

@abda11ah
Copy link

abda11ah commented Jan 2, 2025

Hi,
Can we override php.ini and nginx.conf directly from the docker-compose.yml file ?

if so, how to ?

@shinsenter
Copy link
Owner

Hi @abda11ah

You can use the volumes attribute in docker-compose.yml to mount files from the host machine to the container at the desired path to modify config files within the container. Documentation reference.

To provide a more complete answer to your question, I would need more details about the specific changes you want to make. Directly modifying existing config files in the container might cause it to behave differently from its intended design.

Repository owner locked and limited conversation to collaborators Jan 9, 2025
@shinsenter shinsenter converted this issue into discussion #181 Jan 9, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants