@@ -4,7 +4,7 @@ If You want to build a reverse proxy website with CakePHP "basic" at short time;
44
55#### Full stack Proxy Nginx CakePHP "basic":
66<p align="left"> <a href="https://www.cakephp.com/" target="_blank" rel="noreferrer"> <img src="https://avatars.githubusercontent.com/u/23666?s=200&v=4" alt="cakephp" height="40" width="40"/> </a> <a href="https://www.docker.com/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/docker/docker.png" alt="docker" width="40" height="40" width="40"/> </a> <a href="https://mariadb.org/" target="_blank" rel="noreferrer"> <img src="https://avatars.githubusercontent.com/u/5877084?s=200&v=4" alt="mariadb" height="50" width="50"/> </a> <a href="https://www.nginx.com" target="_blank" rel="noreferrer"> <img src="https://avatars.githubusercontent.com/u/1412239?s=200&v=4" alt="nginx" height="40" width="40"/> </a> <a href="https://www.php.net" target="_blank" rel="noreferrer"> <img src="https://avatars.githubusercontent.com/u/25158?s=200&v=4" alt="php" height="40" width="40"/> </a> <a href="https://redis.io" target="_blank" rel="noreferrer"> <img src="https://avatars.githubusercontent.com/u/1529926?s=200&v=4" alt="redis" height="40" width="40"/> </a> <a href="#" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/bash/bash.png" alt="Bash" height="50" width="50" /> </a>
7- <a href =" https://www.phpmyadmin.net/ " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/1351977?s=200&v=4 " alt =" phpmyadmin " height =" 40 " width =" 40 " /> </a >  ;  ;  ; <a href =" https://www.apache.org/ " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/47359?s=200&v=4 " alt =" apache " height =" 40 " width =" 40 " /> </a >  ;  ;  ; <a href =" https://letsencrypt.org/ " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/17889013?s=200&v=4 " alt =" letsencrypt " height =" 40 " width =" 40 " /> </a >  ;  ;  ; <a href =" https://www.portainer.io/?hsLang=en " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/22225832?s=200&v=4 " alt =" portainer " height =" 40 " width =" 40 " /> </a > </p >
7+ <a href =" https://www.phpmyadmin.net/ " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/1351977?s=200&v=4 " alt =" phpmyadmin " height =" 40 " width =" 40 " /> </a >  ;  ;  ; <a href =" https://www.apache.org/ " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/47359?s=200&v=4 " alt =" apache " height =" 40 " width =" 40 " /> </a >  ;  ;  ; <a href =" https://letsencrypt.org/ " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/17889013?s=200&v=4 " alt =" letsencrypt " height =" 40 " width =" 40 " /> </a >  ;  ;  ; <a href =" https://www.portainer.io/?hsLang=en " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/22225832?s=200&v=4 " alt =" portainer " height =" 40 " width =" 40 " /> </a >& nbsp ;& nbsp ;& nbsp ; < a href = " https://www.offen.dev/ " target = " _blank " rel = " noreferrer " > < img src = " https://avatars.githubusercontent.com/u/47735043?s=200&v=4 " alt = " backup " height = " 40 " width = " 40 " /> </ a > </p >
88
99Plus, manage docker containers with Portainer.
1010
@@ -17,7 +17,7 @@ Plus, manage docker containers with Portainer.
1717- [ phpMyAdmin] ( https://hub.docker.com/r/phpmyadmin/phpmyadmin/ )
1818- [ database] ( https://hub.docker.com/_/mariadb )
1919- [ redis] ( https://hub.docker.com/_/redis )
20- - [ backup] ( https://hub.docker.com/r/futurice /docker-volume-backup )
20+ - [ backup] ( https://hub.docker.com/r/offen /docker-volume-backup )
2121
2222#### For certbot (letsencrypt) certificate:
2323
@@ -137,7 +137,7 @@ For convenience you may add a new entry into your hosts file.
137137docker volume create portainer_data
138138docker compose -f portainer-docker-compose.yml -p portainer up -d
139139```
140- manage docker with [ Portainer] ( https://www.portainer.io/solutions/docker ) is the definitive container management tool for Docker, Docker Swarm with it's highly intuitive GUI and API.
140+ manage docker with [ Portainer] ( https://www.portainer.io/ ) is the definitive container management tool for Docker, Docker Swarm with it's highly intuitive GUI and API.
141141
142142You can also visit ` https://example.com:9001 ` to access portainer after starting the containers.
143143
@@ -268,20 +268,8 @@ The first authorize screen(htpasswd;username or password) and phpmyadmin login s
268268
269269### backup
270270
271- This will back up the all files and folders, once per day, and write it to ./backups with a filename like backup-2022-02-07T16-51-56 .tar.gz
271+ This will back up the all files and folders in database/dump sql and html volumes , once per day, and write it to ./backups with a filename like backup-2023-01-01T10-18-00 .tar.gz
272272
273- #### example for crontab file on the host machine
273+ #### can run on a custom cron schedule
274274
275- ##### # old docker backup folder remove
276-
277- ```
278- 50 23 * * * find ${DIRECTORY_PATH}/backups/backup* -type f -mtime +1 | xargs rm
279- ```
280-
281- ##### # backup exclude cakephp, backups folders in ${DIRECTORY_PATH}
282-
283- ```
284- 00 01 * * * tar -czvf ${DIRECTORY_PATH}/backups/'backup-example.com-'$(date +"\%Y-\%m-\%dT\%H-\%M-\%S")'.tar.gz' --exclude='cakephp/app' --exclude='backups' ${DIRECTORY_PATH}
285- ```
286-
287- [ CronHowto] ( https://help.ubuntu.com/community/CronHowto )
275+ ``` BACKUP_CRON_EXPRESSION: '20 01 * * *' ``` the UTC timezone.
0 commit comments