Files
mydev 89fd137aca feat: add PostgreSQL support with Compose profiles
- Add db-postgres service behind 'postgres' profile (MariaDB moved to 'mariadb' profile)
- Both databases aliased as 'db'; PHP waits for healthy DB (Compose >= 2.20)
- Pass DB_TYPE to the PHP container
- New PHP extensions: pdo_pgsql, gd, bcmath
- Upgrade Node.js to v26.x
- Update README with database selection docs and v1.2.0 changelog
2026-11-01 12:41:43 +02:00

38 lines
712 B
Bash

#=======================#
# Server Configurations #
#=======================#
# options: [8.0,8.1,8.2,8.3,8.4,8.5]
PHP_VERSION=
# options: [laravel,symfony,magento2,wordpress,opencart]
FRAMEWORK=
# options: [local,prod,proxy]
MODE=
# port used to container
PORT=80
# in case MODE is production set below server name {example.com}
# SERVER_NAME=
PROJECT_NAME=''
#=========================#
# Database Configurations #
#=========================#
# Pick one: postgres | mariadb
COMPOSE_PROFILES=postgres
DB_TYPE=postgres
# Postgres
POSTGRES_DB=app
POSTGRES_USER=app
POSTGRES_PASSWORD=secret
# MariaDB
MYSQL_ROOT_PASSWORD=rootsecret
MYSQL_DATABASE=app
MYSQL_USER_DATABASE=app
MYSQL_PASSWORD_DATABASE=secret