How nextcloud/docker works
This tree is a small slice of the Nextcloud Docker image repository: versioned PHP configuration fragments for Apache, FPM, and Alpine FPM images. The documented deployment flow is to run an image, route HTTP traffic directly to Apache or through an external web server to FPM, and use environment-driven configuration for Nextcloud. The sampled source confirms app search paths; other configuration capabilities are evident from filenames and README headings, but their implementations and wiring are not shown here.
Main entry points: apache/config Apache image · fpm/config FPM image · fpm-alpine/config Alpine FPM image · autoconfig.php Auto configuration
Components 16
Image variants
- Apache image
35/apache/config - FPM image
35/fpm/config - Alpine FPM image
35/fpm-alpine/config
Runtime configuration
- Auto configuration
35/apache/config/autoconfig.php - App paths
35/apache/config/apps.config.php - Proxy settings
35/apache/config/reverse-proxy.config.php - Apache URLs
35/apache/config/apache-pretty-urls.config.php - Upgrade control
35/apache/config/upgrade-disable-web.config.php
Optional integrations
- APCu cache
35/apache/config/apcu.config.php - Redis cache
35/apache/config/redis.config.php - S3 storage
35/apache/config/s3.config.php - SMTP mail
35/apache/config/smtp.config.php - Swift storage
35/apache/config/swift.config.php
Other components
- Deployment operator
- External web server
- Nextcloud application
Connections 17
- Deployment operator → Apache image: runs
- Deployment operator → FPM image: runs
- Deployment operator → Alpine FPM image: runs
- External web server → FPM image: proxies requests
- Apache image → Nextcloud application: serves HTTP
- FPM image → Nextcloud application: executes FastCGI
- Alpine FPM image → Nextcloud application: executes FastCGI
- Auto configuration → Nextcloud application: configures
- App paths → Nextcloud application: sets app paths
- Proxy settings → Nextcloud application: configures proxy
- Apache URLs → Apache image: configures URLs
- Upgrade control → Nextcloud application: controls upgrades
- APCu cache → Nextcloud application: configures cache
- Redis cache → Nextcloud application: configures cache
- S3 storage → Nextcloud application: configures storage
- SMTP mail → Nextcloud application: configures mail
- Swift storage → Nextcloud application: configures storage