-
Notifications
You must be signed in to change notification settings - Fork 1
/
.lando.yml
28 lines (28 loc) · 1.4 KB
/
.lando.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
name: uslce
recipe: drupal6
config:
php: '8.1'
composer_version: '2-latest'
via: apache:2.4
webroot: .
drush: ^8.4.12
xdebug: true
services:
database:
type: mysql:5.7
run_as_root:
# Creates the extra databases as root since the app user does not have those privileges
- mysql -uroot -e "CREATE DATABASE IF NOT EXISTS cg_game; GRANT ALL PRIVILEGES ON cg_game.* TO 'drupal6'@'%' IDENTIFIED by 'drupal6';"
- mysql -uroot -e "CREATE DATABASE IF NOT EXISTS uslce_game; GRANT ALL PRIVILEGES ON uslce_game.* TO 'drupal6'@'%' IDENTIFIED by 'drupal6';"
- mysql -uroot -e "CREATE DATABASE IF NOT EXISTS stl1904_game; GRANT ALL PRIVILEGES ON stl1904_game.* TO 'drupal6'@'%' IDENTIFIED by 'drupal6';"
- mysql -uroot -e "CREATE DATABASE IF NOT EXISTS stl2124_game; GRANT ALL PRIVILEGES ON stl2124_game.* TO 'drupal6'@'%' IDENTIFIED by 'drupal6';"
- mysql -uroot -e "CREATE DATABASE IF NOT EXISTS detroit_game; GRANT ALL PRIVILEGES ON detroit_game.* TO 'drupal6'@'%' IDENTIFIED by 'drupal6';"
- mysql -uroot -e "CREATE DATABASE IF NOT EXISTS elysian_game; GRANT ALL PRIVILEGES ON elysian_game.* TO 'drupal6'@'%' IDENTIFIED by 'drupal6';"
- mysql -uroot -e "CREATE DATABASE IF NOT EXISTS wonderland_game; GRANT ALL PRIVILEGES ON wonderland_game.* TO 'drupal6'@'%' IDENTIFIED by 'drupal6';"
pma:
type: phpmyadmin
hosts:
- database
proxy:
pma:
- pma.lndo.site