Change uploads location

This commit is contained in:
smileBeda committed 2026-10-24 17:35:00 +00:00
1 parent 44af971e89
commit 2424b4e68c
2 files changed
+8 -3

No files matched your search

+3 -3
View File
@@ -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
- **Secrets:** `/srv/docker/secrets/undenk/.env`, supplied to WordPress and 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
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
- **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
- **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.
- **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, `/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
+5
View File
@@ -13,6 +13,11 @@ services:
WORDPRESS_HOME: https://www.undenk.info
volumes:
- /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:
npm_proxy:
ipv4_address: 192.168.99.11