Skip to content

Instantly share code, notes, and snippets.

@franxo
Last active February 5, 2024 09:30
Show Gist options
  • Save franxo/0f0be5cf92ae14624827a9c0fd26b255 to your computer and use it in GitHub Desktop.
Save franxo/0f0be5cf92ae14624827a9c0fd26b255 to your computer and use it in GitHub Desktop.
Lando file for drupal 8 + postgresql + pgamin
name: drupal8postgresql
recipe: drupal8
proxy:
appserver:
- drupal8postgresql.lndo.site
pgadmin:
- drupal8postgresql-pgadmin.lndo.site
config:
webroot: web
composer_version: '2'
via: apache:2.4
php: '8.0'
database: postgres:11
xdebug: true
services:
database:
creds:
database: database
user: postgres #User needs to be "postgres" https://docs.lando.dev/postgres/config.html
password: '' #Password needs to be empty https://docs.lando.dev/postgres/config.html
pgadmin:
type: compose
app_mount: false
services:
image: dpage/pgadmin4
command: /entrypoint.sh
environment:
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: root
ports:
- "127.0.0.1::80"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment