-
Notifications
You must be signed in to change notification settings - Fork 1
/
harness.yml
71 lines (71 loc) · 2.58 KB
/
harness.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
harness('inviqa/wordpress'):
description: A docker based development environment for wordpress
require:
services:
- proxy
- mail
confd:
- harness:/
---
attributes:
app:
services:
- chrome
- mysql
wordpress:
install_directory: = @('app.web_directory')
url: = 'https://' ~ @('hostname') ~ '/'
url_prefix: /
security:
auth:
key: 89SsDHkunF9G2L9hp89ZsJtnRCAZfsUwBfwr7qd9JeGPG6NCVwvCsnAgYnHGaTuG
salt: quhs57funVecFk38Q8AksSV2DpHJHSecYqdzmn8K3uxwPxd7QvwyM2wAD32bpgkF
secure_auth:
key: WW6STfxv6qd6AGbkXhWGL2NGRqgrhKkM56LyMYcmHXuEE7ZfYh3zuefpNRLbHY3P
salt: 5DCMJSmJUhKmaqt7xwJnnmzF8k6QvfYG7psXPAU9nnhS5pch68LGzvCCqjfcKaBd
logged_in:
key: 6RTuK9hUeLEQecaX746mMLHLRJUasQZztVP24RJFUjYBKk5AdhSYJTDBTaJVMwkH
salt: UyKPJdQud7vkZ8BseJhhCattAcHm4mdK7SLvYkYK73vcX86SwkKk8JgFK6NStBNG
nonce:
key: Nnrhwn4aTXsGHfJPDTtrNuHT5cmZgbEANLQXxQyQ63v5jdjaQUUqBGcKgJNhCwkV
salt: QjdTgTd7HcSx2jCmzVHyeYCfBBBjjdkuvRYJ8C9cAMYPpCRa3U8uYRHRWbSADTuh
database:
user: wordpress
pass: wordpress
name: wordpress
backend:
build:
steps:
- task wp-cli:install
- task wordpress:download
- task composer:install
install:
steps:
- |
passthru bin/wp-cli.phar core install \
"--path=${WORDPRESS_INSTALL_DIRECTORY}" \
--skip-email \
"--url=$(eval echo "$WORDPRESS_URL")" \
"--title=${APP_NAME}" \
--admin_user=admin \
"--admin_password=${ADMIN_DEFAULT_PASSWORD}" \
- task assets:dump
init:
steps:
- run bin/wp-cli.phar "--path=${WORDPRESS_INSTALL_DIRECTORY}" option update siteurl "$(eval echo "${WORDPRESS_URL}")"
- run bin/wp-cli.phar "--path=${WORDPRESS_INSTALL_DIRECTORY}" option update home "$(eval echo "${WORDPRESS_URL}")"
- run "bin/wp-cli.phar '--path=${WORDPRESS_INSTALL_DIRECTORY}' user create admin [email protected] --role=administrator '--user_pass=${ADMIN_DEFAULT_PASSWORD}' || exit 0"
- run bin/wp-cli.phar "--path=${WORDPRESS_INSTALL_DIRECTORY}" user update admin --role=administrator "--user_pass=${ADMIN_DEFAULT_PASSWORD}" --skip-email
php:
install_extensions:
- "= @('services.blackfire.enabled') ? 'blackfire' : ''"
- "= @('services.tideways.enabled') ? 'tideways' : ''"
- mysqli
version: 7.4
---
import:
- harness/config/*.yml
- harness/attributes/*.yml
- harness/attributes/environment/={env('MY127WS_ENV','local')}.yml