Commit b51c6e27 authored by Simon's avatar Simon

release 1.15.0 docs update

parent 67b7e920
...@@ -9,7 +9,6 @@ DB_NAME=dev_biuro ...@@ -9,7 +9,6 @@ DB_NAME=dev_biuro
DB_HOST=mysql DB_HOST=mysql
DB_USERNAME=dev_user DB_USERNAME=dev_user
DB_PASSWORD=Y6V6bFkD6@GyD!wTShgFmWz! DB_PASSWORD=Y6V6bFkD6@GyD!wTShgFmWz!
# DB_ROOT_PASSWORD=q@z!z29AO5rpzMjsDhjnFKyF
UID=33 UID=33
GID=33 GID=33
......
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
## Production ## Production
- build CSS & JS assets - `C:\web\dev.biuro\ npm run build` - build CSS & JS assets - `C:\web\dev.biuro\ npm run build`
- build new image `docker build -t biuro/web:1.14.0 .` (update version number) - build new image `docker build -t biuro/web:1.15.0 .` (update version number)
- login to biuro docker account `docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs` - login to biuro docker account `docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
- push image to docker repository - `docker push biuro/web:1.14.0` - push image to docker repository - `docker push biuro/web:1.15.0`
## Production ## Production
- update biuro/web image version in .env file (staging or www) - update biuro/web image version in .env file (staging or www)
......
...@@ -83,8 +83,6 @@ services: ...@@ -83,8 +83,6 @@ services:
- ./certs:/etc/letsencrypt - ./certs:/etc/letsencrypt
- ./certs-data:/data/letsencrypt - ./certs-data:/data/letsencrypt
# - ./data/certbot/conf:/etc/letsencrypt
# - ./data/certbot/www:/var/www/certbot
- ./wp-content/plugins:/var/www/html/wp-content/plugins - ./wp-content/plugins:/var/www/html/wp-content/plugins
...@@ -101,16 +99,13 @@ services: ...@@ -101,16 +99,13 @@ services:
certbot: certbot:
image: certbot/certbot image: certbot/certbot
restart: unless-stopped restart: unless-stopped
container_name: "${PROJECT}-certbot"
networks:
- "back"
volumes: volumes:
- ./certs:/etc/letsencrypt - ./certs:/etc/letsencrypt
- ./certs-data:/data/letsencrypt - ./certs-data:/data/letsencrypt
command: entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
- ./docker/cron-jobs/init-letsencrypt.sh
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 24h & wait $${!}; done;'"
# # - ./data/certbot/conf:/etc/letsencrypt
# # - ./data/certbot/www:/var/www/certbot
wordpress-cli: wordpress-cli:
image: ${IMAGE_WORDPRESS_CLI} image: ${IMAGE_WORDPRESS_CLI}
......
...@@ -3,6 +3,6 @@ Theme Name: Biuro ...@@ -3,6 +3,6 @@ Theme Name: Biuro
Author: Biuro Author: Biuro
Author URI: https://www.biuro.lt/ Author URI: https://www.biuro.lt/
Description: Biuro multiregion theme Description: Biuro multiregion theme
Version: 1.14.0 Version: 1.15.0
Text Domain: biuro Text Domain: biuro
*/ */
...@@ -7,7 +7,7 @@ wp plugin deactivate --all; ...@@ -7,7 +7,7 @@ wp plugin deactivate --all;
wp core update --force; wp core update --force;
wp core update-db --network; wp core update-db --network;
wp core language update wp core language update;
# wp option update permalink_structure "/%postname%/" --skip-themes --skip-plugins; # wp option update permalink_structure "/%postname%/" --skip-themes --skip-plugins;
# wp option update timezone_string "Manual Offsets/UTC+2"; # wp option update timezone_string "Manual Offsets/UTC+2";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment