Reset history to current sanitized state
This commit is contained in:
commit
508c0aa254
3 files changed
+100
No files matched your search
+37
@@ -0,0 +1,37 @@
|
||||
# Application state and recovery copies
|
||||
/wordpress/
|
||||
/mysql/
|
||||
/db/
|
||||
/appdata/
|
||||
/backups/
|
||||
/pre-cleanup/
|
||||
|
||||
# Environment and credentials
|
||||
.env
|
||||
.env.*
|
||||
*.env
|
||||
*.env.*
|
||||
/secrets/
|
||||
wp-config.php
|
||||
*.sql
|
||||
*.sql.gz
|
||||
*.key
|
||||
*.pem
|
||||
*.p12
|
||||
*.pfx
|
||||
|
||||
# Editor and operating-system files
|
||||
.DS_Store
|
||||
*~
|
||||
*.swp
|
||||
|
||||
# BEGIN reset-history environment exclusions
|
||||
.env
|
||||
.env.*
|
||||
*.env
|
||||
*.env.*
|
||||
!.env.example
|
||||
!.env.*.example
|
||||
!*.env.example
|
||||
!*.env.*.example
|
||||
# END reset-history environment exclusions
|
||||
@@ -0,0 +1,22 @@
|
||||
# Undenk
|
||||
|
||||
Undenk runs the WordPress website at https://www.undenk.info with existing content and a custom theme.
|
||||
|
||||
## Deployment layout
|
||||
|
||||
- **Compose:** `/srv/docker/undenk/docker-compose.yml`
|
||||
- **Static configuration/source:** none beyond Compose in this deployment repository; authoritative source control for the custom theme remains pending
|
||||
- **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:** no active HDD bind after migration; original `/data/Data1/websites/undenk/wordpress` and `/data/Data1/websites/undenk/db` are temporarily retained as stopped-state rollback copies
|
||||
- **Other mounts:** none
|
||||
|
||||
Secrets are never committed to this repository. Protect WordPress configuration,
|
||||
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.
|
||||
- **Re-creatable:** container images and downloadable upstream distributions; site content, custom code, uploads, and configuration require retained copies for recovery
|
||||
@@ -0,0 +1,41 @@
|
||||
name: undenk
|
||||
|
||||
services:
|
||||
undenk-wp:
|
||||
image: wordpress
|
||||
container_name: undenk-wp
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- /srv/docker/secrets/undenk/.env
|
||||
environment:
|
||||
WORDPRESS_DB_HOST: undenk-db
|
||||
WORDPRESS_SITEURL: https://www.undenk.info
|
||||
WORDPRESS_HOME: https://www.undenk.info
|
||||
volumes:
|
||||
- /srv/appdata/undenk/wordpress:/var/www/html
|
||||
networks:
|
||||
npm_proxy:
|
||||
ipv4_address: 192.168.99.11
|
||||
undenk_internal:
|
||||
|
||||
undenk-db:
|
||||
mem_limit: 2g
|
||||
memswap_limit: 3g
|
||||
image: mysql:8.0
|
||||
container_name: undenk-db
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- /srv/docker/secrets/undenk/.env
|
||||
environment:
|
||||
MYSQL_DATABASE: tktudk01
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: '1'
|
||||
volumes:
|
||||
- /srv/appdata/undenk/mysql:/var/lib/mysql
|
||||
networks:
|
||||
- undenk_internal
|
||||
|
||||
networks:
|
||||
npm_proxy:
|
||||
external: true
|
||||
undenk_internal:
|
||||
driver: bridge
|
||||
Reference in new issue
Block a user