You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Docker image provides a production-ready environment for running Laravel and Statamic applications. It combines Nginx, PHP-FPM 8.3, and Supervisor in a single container, optimized for AWS ECS/Fargate deployment.
3
+
This Docker image provides a production-ready environment for running Laravel and Statamic applications. It combines Nginx, PHP-FPM 8.3, and Supervisor in a single container.
4
4
5
5
## Image Components
6
6
@@ -54,8 +54,7 @@ The image implements a comprehensive logging strategy optimized for container en
54
54
This logging setup ensures:
55
55
- All logs are properly captured in container environments
56
56
- Compatibility with AWS CloudWatch
57
-
- No log file rotation issues in containers
58
-
- Proper error tracking without exposing sensitive information
57
+
59
58
60
59
### 5. Health Checks
61
60
- Built-in health check endpoint at `/healthz`
@@ -68,7 +67,7 @@ This logging setup ensures:
68
67
- Listens on port 8080
69
68
- Configured for Laravel/Statamic routing
70
69
- Includes health check endpoint
71
-
- Optimized for PHP-FPM communication
70
+
72
71
73
72
### Supervisor Configuration
74
73
- Runs in foreground mode (PID 1)
@@ -94,4 +93,4 @@ The application can be configured using standard Laravel environment variables.
94
93
95
94
- The image is designed to run as a single container in production
96
95
- All logs are properly forwarded to container logs
97
-
- The setup is optimized for AWS ECS/Fargate deployment
96
+
- The setup is optimizedg for AWS ECS/Fargate logging into Cloudwatch through awslogs driver.
0 commit comments