Skip to content

Commit ded50b7

Browse files
committed
chore: Remove public route mapping for Caddy example
1 parent 9885b89 commit ded50b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker-compose.external-all-caddy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,10 @@ services:
183183
volumes:
184184
# Persistent configuration data
185185
- ./data:/var/www/config
186+
# NOTE: Might not be required if Caddy proxies requests to PHP-FPM directly
186187
# Share public directory with caddy for static file serving
187-
- app-public:/var/www/html/public
188+
#- Uncomment the line below if needed
189+
#- app-public:/var/www/html/public
188190
restart: unless-stopped
189191
# Don't expose port externally - only accessible via caddy
190192
# Expose FPM port 9000 to caddy via internal network only

0 commit comments

Comments
 (0)