Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dev.biuro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Biuro
dev.biuro
Commits
b51c6e27
Commit
b51c6e27
authored
Apr 10, 2020
by
Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release 1.15.0 docs update
parent
67b7e920
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
14 deletions
+8
-14
.env
.env
+0
-1
README.md
README.md
+2
-2
docker-compose.yml
docker-compose.yml
+4
-9
style.css
wp-content/themes/biuro/style.css
+1
-1
wp-init.sh
wp-init.sh
+1
-1
No files found.
.env
View file @
b51c6e27
...
@@ -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
...
...
README.md
View file @
b51c6e27
...
@@ -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.1
4
.0 .`
(update version number)
-
build new image
`docker build -t biuro/web:1.1
5
.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.1
4
.0`
-
push image to docker repository -
`docker push biuro/web:1.1
5
.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)
...
...
docker-compose.yml
View file @
b51c6e27
...
@@ -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}
...
...
wp-content/themes/biuro/style.css
View file @
b51c6e27
...
@@ -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.1
4
.0
Version: 1.1
5
.0
Text Domain: biuro
Text Domain: biuro
*/
*/
wp-init.sh
View file @
b51c6e27
...
@@ -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";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment