Reset history to current sanitized state
This commit is contained in:
commit
824d51eb6d
3 files changed
+102
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,23 @@
|
||||
# GeneratePlugins
|
||||
|
||||
GeneratePlugins runs the WordPress website at https://www.generateplugins.com.
|
||||
|
||||
## Deployment layout
|
||||
|
||||
- **Compose:** `/srv/docker/generateplugins/docker-compose.yml`
|
||||
- **Static configuration/source:** none beyond Compose; the installed WordPress tree is application-managed state
|
||||
- **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
|
||||
- **Other mounts:** none
|
||||
|
||||
Secrets are never committed to this repository. WordPress configuration may
|
||||
contain application-managed credentials and salts; protect the complete
|
||||
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.
|
||||
- **Re-creatable:** container images and downloadable WordPress distributions; installed plugins, themes, uploads, configuration, and database contents require retained state for an exact recovery
|
||||
@@ -0,0 +1,42 @@
|
||||
name: generateplugins
|
||||
|
||||
services:
|
||||
|
||||
generateplugins-wp:
|
||||
image: wordpress
|
||||
container_name: generateplugins-wp
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- /srv/docker/secrets/generateplugins/.env
|
||||
environment:
|
||||
WORDPRESS_DB_HOST: generateplugins-db
|
||||
WORDPRESS_SITEURL: https://www.generateplugins.com
|
||||
WORDPRESS_HOME: https://www.generateplugins.com
|
||||
volumes:
|
||||
- /srv/appdata/generateplugins/wordpress:/var/www/html
|
||||
networks:
|
||||
generateplugins_internal:
|
||||
npm_proxy:
|
||||
ipv4_address: 192.168.99.10
|
||||
|
||||
generateplugins-db:
|
||||
mem_limit: 2g
|
||||
memswap_limit: 3g
|
||||
image: mysql:8.0
|
||||
container_name: generateplugins-db
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- /srv/docker/secrets/generateplugins/.env
|
||||
environment:
|
||||
MYSQL_DATABASE: generateplug
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: '1'
|
||||
volumes:
|
||||
- /srv/appdata/generateplugins/mysql:/var/lib/mysql
|
||||
networks:
|
||||
- generateplugins_internal
|
||||
|
||||
networks:
|
||||
npm_proxy:
|
||||
external: true
|
||||
generateplugins_internal:
|
||||
driver: bridge
|
||||
Reference in new issue
Block a user