Commit 9969c9a
committed
Update Nginx environment variable handling in docker-compose.yml
This commit improves how environment variables are managed for the Nginx
service:
- Add APP_DIR variable to the web service environment variables
- Derive APP_PUBLIC_DIR dynamically from APP_DIR
- Maintain backward compatibility with existing template files
- Ensure consistent directory referencing throughout the stack
This change simplifies configuration by reducing the number of variables
that need to be manually synchronized, making it easier for users to
switch between different PHP frameworks or customize their application
directory structure.1 parent c0356a9 commit 9969c9a
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
0 commit comments