Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lando setup #86

Merged
merged 3 commits into from
Dec 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .acquia-cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cloud_app_uuid: a4d2ff77-3324-4faa-847d-6c962dcf7302
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ CHANGELOG.txt

#Ignore MacOS files
.DS_Store

#Ignore SQL dumps
*.sql
68 changes: 68 additions & 0 deletions .lando.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: d8multi
recipe: acquia
config:
acli_version: latest
ah_application_uuid: a4d2ff77-3324-4faa-847d-6c962dcf7302
ah_site_group: d8multi
php: '7.4'
cache: false
inbox: false
services:
landcam:
type: mysql:5.7
portforward: 33068
config:
confd: lando/mysql/conf.d
sentinel:
type: mysql:5.7
portforward: 33069
config:
confd: .lando/mysql/conf.d
pd:
type: mysql:5.7
portforward: 33070
config:
confd: .lando/mysql/conf.d
appserver:
webroot: docroot
adminer:
type: compose
services:
image: dehy/adminer
command: '/bin/s6-svscan /etc/services.d'
portforward: true
node:
type: 'node:14'
build:
- 'if [ -d $LANDO_MOUNT/web/themes/custom/site_theme ]; then cd $LANDO_MOUNT/web/themes/custom/site_theme && yarn install --production; fi'
overrides:
ports:
- '3051:3051'
tooling:
npm:
service: node
yarn:
service: node
node:
service: node
gulp:
service: node
backstop:
service: node
xdebug-on:
service: appserver
description: Enable xdebug for apache.
cmd: "docker-php-ext-enable xdebug && /etc/init.d/apache2 reload"
user: root
xdebug-off:
service: appserver
description: Disable xdebug for apache.
cmd: "rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && /etc/init.d/apache2 reload"
user: root
proxy:
adminer:
- adminer.landcam.lndo.site
appserver:
- landcam.lndo.site
- sentinel.lndo.site
- pd.lndo.site
Loading