Change uploads location
This commit is contained in:
1 parent
44af971e89
commit
2424b4e68c
2 files changed
+8
-3
No files matched your search
@@ -9,7 +9,7 @@ Undenk runs the WordPress website at https://www.undenk.info with existing conte
|
|||||||
- **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/undenk/.env`, supplied to WordPress and MySQL
|
- **Secrets:** `/srv/docker/secrets/undenk/.env`, supplied to WordPress and MySQL
|
||||||
- **NVMe application state:** `/srv/appdata/undenk/wordpress` and `/srv/appdata/undenk/mysql`
|
- **NVMe application state:** `/srv/appdata/undenk/wordpress` and `/srv/appdata/undenk/mysql`
|
||||||
- **Bulk HDD data:** none
|
- **Bulk HDD data:** `/data/Data1/undenk/uploads`, mounted at `/var/www/html/wp-content/uploads`
|
||||||
- **Other mounts:** none
|
- **Other mounts:** none
|
||||||
|
|
||||||
Secrets are never committed to this repository. Protect WordPress configuration,
|
Secrets are never committed to this repository. Protect WordPress configuration,
|
||||||
@@ -17,6 +17,6 @@ application-managed credentials, and salts alongside the central environment.
|
|||||||
|
|
||||||
## Dependencies and recovery
|
## Dependencies and recovery
|
||||||
|
|
||||||
- **Networks/dependencies:** dedicated `undenk_internal` bridge for WordPress and MySQL; WordPress also joins external `npm_proxy` at `192.168.99.11`; existing reverse proxy and DNS for www.undenk.info
|
- **Networks/dependencies:** dedicated `undenk_internal` bridge for WordPress and MySQL; WordPress also joins external `npm_proxy` at `192.168.99.11`; existing reverse proxy and DNS for www.undenk.info; Data1 must be mounted before starting WordPress
|
||||||
- **Back up:** a consistent MySQL backup, the complete WordPress tree including the custom theme and uploads, the central environment, and deployment configuration. Independent backup coverage and restore testing remain to be confirmed.
|
- **Back up:** a consistent MySQL backup, `/srv/appdata/undenk/wordpress` including the custom theme, `/data/Data1/undenk/uploads`, the central environment, and deployment configuration. Independent backup coverage and restore testing remain to be confirmed.
|
||||||
- **Re-creatable:** container images and downloadable upstream distributions; site content, custom code, uploads, and configuration require retained copies for recovery
|
- **Re-creatable:** container images and downloadable upstream distributions; site content, custom code, uploads, and configuration require retained copies for recovery
|
||||||
@@ -13,6 +13,11 @@ services:
|
|||||||
WORDPRESS_HOME: https://www.undenk.info
|
WORDPRESS_HOME: https://www.undenk.info
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/appdata/undenk/wordpress:/var/www/html
|
- /srv/appdata/undenk/wordpress:/var/www/html
|
||||||
|
- type: bind
|
||||||
|
source: /data/Data1/undenk/uploads
|
||||||
|
target: /var/www/html/wp-content/uploads
|
||||||
|
bind:
|
||||||
|
create_host_path: false
|
||||||
networks:
|
networks:
|
||||||
npm_proxy:
|
npm_proxy:
|
||||||
ipv4_address: 192.168.99.11
|
ipv4_address: 192.168.99.11
|
||||||
|
|||||||
Reference in new issue
Block a user