Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
staging.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
staging.biuro
Commits
9c6da8cd
Commit
9c6da8cd
authored
May 25, 2019
by
Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release 1.0.0
parent
37ae8f5f
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2333 additions
and
3 deletions
+2333
-3
.env
.env
+1
-1
docker-compose.yml
docker-compose.yml
+34
-2
data-015.sql
docker/mariadb/data-015.sql
+2298
-0
No files found.
.env
View file @
9c6da8cd
...
...
@@ -2,7 +2,7 @@ PROJECT=biuro-staging
IMAGE_NGINX=fholzer/nginx-brotli
IMAGE_MYSQL=mariadb:10.3
IMAGE_WORDPRESS=biuro/web:
0.0.32
IMAGE_WORDPRESS=biuro/web:
1.0.0
IMAGE_WORDPRESS_CLI=wordpress:cli-php7.3
DB_NAME=staging_biuro
...
...
docker-compose.yml
View file @
9c6da8cd
...
...
@@ -49,6 +49,7 @@ services:
define( 'WP_HOME', 'https://${NGINX_NAME_LT}' );
define( 'WP_SITEURL', 'https://${NGINX_NAME_LT}' );
define( 'DISALLOW_FILE_EDIT',
false
);
links
:
-
mysql
restart
:
always
...
...
@@ -93,8 +94,39 @@ services:
-
./wordpress:/var/www/html
-
'
./wp-init.sh:/usr/local/bin/wp-init.sh'
command
:
-
wp-init.sh
command
:
>
/bin/sh -c '
sleep 15;
echo "WP CLI init";
wp core update --force;
wp core update-db --network;
wp option update permalink_structure "/%postname%/" --skip-themes --skip-plugins;
# wp option update timezone_string "Manual Offsets/UTC+2";
# wp option update date_format "Y-m-d";
wp option update time_format "H:i";
# wp plugin install permalink-manager --force --activate-network;
wp plugin install pods --activate-network;
wp plugin install polylang --activate-network;
wp plugin install wordpress-seo --activate-network;
wp plugin install loco-translate --activate-network;
wp plugin install google-sitemap-generator --activate-network;
wp plugin update --all;
wp plugin activate akismet --network;
wp plugin activate biuro-contacts --network;
wp plugin activate biuro-feedbacks --network;
wp plugin activate biuro-html --network;
wp plugin activate biuro-sections --network;
wp plugin activate biuro-services --network;
wp plugin activate biuro-values --network;
wp plugin activate cookies-warning --network;
wp plugin activate data-controller --network;
wp theme update --all;
wp theme activate biuro;
wp language core update;
wp language theme update --all;
wp language plugin update --all;
echo "WP CLI done. Ready to use.";
'
networks
:
front
:
...
...
docker/mariadb/data-015.sql
0 → 100644
View file @
9c6da8cd
This diff is collapsed.
Click to expand it.
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