Compare commits

..

2 commits

3 changed files with 13 additions and 6 deletions

1
.env.local.example Normal file
View file

@ -0,0 +1 @@
DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"

View file

@ -1,12 +1,11 @@
services: services:
###> doctrine/doctrine-bundle ### ###> doctrine/doctrine-bundle ###
database: database:
ports: ports:
- "5432" - "5432:5432"
###< doctrine/doctrine-bundle ### ###< doctrine/doctrine-bundle ###
###> symfony/mailer ### ###> symfony/mailer ###
mailer: mailer:
image: axllent/mailpit image: axllent/mailpit
ports: ports:
@ -15,4 +14,5 @@ services:
environment: environment:
MP_SMTP_AUTH_ACCEPT_ANY: 1 MP_SMTP_AUTH_ACCEPT_ANY: 1
MP_SMTP_AUTH_ALLOW_INSECURE: 1 MP_SMTP_AUTH_ALLOW_INSECURE: 1
###< symfony/mailer ### ###< symfony/mailer ###

View file

@ -3,8 +3,9 @@
pkgs.mkShell { pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
# PHP and tools # PHP and tools
php84 (php84.withExtensions ({ enabled, all }: enabled ++ (with all; [ pdo_pgsql pgsql ])))
php84Packages.composer php84Packages.composer
symfony-cli
# Container tools # Container tools
podman podman
@ -15,4 +16,9 @@ pkgs.mkShell {
curl curl
gnumake gnumake
]; ];
shellHook = ''
export SHELL=${pkgs.zsh}/bin/zsh
exec ${pkgs.zsh}/bin/zsh
'';
} }