Change uploads location

This commit is contained in:
smileBeda committed 2026-10-24 17:33:38 +00:00
1 parent 824d51eb6d
commit b6da9c0baf
2 files changed
+8 -3

No files matched your search

+3 -3
View File
@@ -9,7 +9,7 @@ GeneratePlugins runs the WordPress website at https://www.generateplugins.com.
- **Non-secret environment:** database hostname, declared website URLs, database name, and MySQL initialization control are inline in Compose
- **Secrets:** `/srv/docker/secrets/generateplugins/.env`, supplied to WordPress and MySQL
- **NVMe application state:** `/srv/appdata/generateplugins/wordpress` and `/srv/appdata/generateplugins/mysql`
- **Bulk HDD data:** none after migration; the small WordPress tree, including uploads, remains together on NVMe
- **Bulk HDD data:** `/data/Data1/generateplugins/uploads`, mounted at `/var/www/html/wp-content/uploads`
- **Other mounts:** none
Secrets are never committed to this repository. WordPress configuration may
@@ -18,6 +18,6 @@ application-state tree alongside the central environment.
## Dependencies and recovery
- **Networks/dependencies:** dedicated `generateplugins_internal` bridge for WordPress and MySQL; WordPress also joins external `npm_proxy` at `192.168.99.10`; existing reverse proxy and DNS for www.generateplugins.com
- **Back up:** no independent backup was requested by the owner for this instance. If preservation becomes necessary, retain a consistent database backup, the complete WordPress tree, central environment, and deployment configuration.
- **Networks/dependencies:** dedicated `generateplugins_internal` bridge for WordPress and MySQL; WordPress also joins external `npm_proxy` at `192.168.99.10`; existing reverse proxy and DNS for www.generateplugins.com; Data1 must be mounted before starting WordPress
- **Back up:** no independent backup was requested by the owner for this instance. For recovery, preserve a consistent MySQL backup, `/srv/appdata/generateplugins/wordpress`, `/data/Data1/generateplugins/uploads`, the central environment, and deployment configuration.
- **Re-creatable:** container images and downloadable WordPress distributions; installed plugins, themes, uploads, configuration, and database contents require retained state for an exact recovery
+5
View File
@@ -14,6 +14,11 @@ services:
WORDPRESS_HOME: https://www.generateplugins.com
volumes:
- /srv/appdata/generateplugins/wordpress:/var/www/html
- type: bind
source: /data/Data1/generateplugins/uploads
target: /var/www/html/wp-content/uploads
bind:
create_host_path: false
networks:
generateplugins_internal:
npm_proxy: