Change uploads location
This commit is contained in:
1 parent
824d51eb6d
commit
b6da9c0baf
2 files changed
+8
-3
No files matched your search
@@ -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
|
- **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
|
- **Secrets:** `/srv/docker/secrets/generateplugins/.env`, supplied to WordPress and MySQL
|
||||||
- **NVMe application state:** `/srv/appdata/generateplugins/wordpress` and `/srv/appdata/generateplugins/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
|
- **Other mounts:** none
|
||||||
|
|
||||||
Secrets are never committed to this repository. WordPress configuration may
|
Secrets are never committed to this repository. WordPress configuration may
|
||||||
@@ -18,6 +18,6 @@ application-state tree alongside the central environment.
|
|||||||
|
|
||||||
## Dependencies and recovery
|
## 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
|
- **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. If preservation becomes necessary, retain a consistent database backup, the complete WordPress tree, central environment, and deployment configuration.
|
- **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
|
- **Re-creatable:** container images and downloadable WordPress distributions; installed plugins, themes, uploads, configuration, and database contents require retained state for an exact recovery
|
||||||
@@ -14,6 +14,11 @@ services:
|
|||||||
WORDPRESS_HOME: https://www.generateplugins.com
|
WORDPRESS_HOME: https://www.generateplugins.com
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/appdata/generateplugins/wordpress:/var/www/html
|
- /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:
|
networks:
|
||||||
generateplugins_internal:
|
generateplugins_internal:
|
||||||
npm_proxy:
|
npm_proxy:
|
||||||
|
|||||||
Reference in new issue
Block a user