Skip to content

Commit

Permalink
feat: add mail catching
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim committed Jul 21, 2024
1 parent ed90f98 commit 834bba0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
PHP_MEMORY_LIMIT=512M \
COMPOSER_ROOT_VERSION=1.0.0 \
APP_URL=http://localhost:8000 \
NPM_CONFIG_ENGINE_STRICT=false
NPM_CONFIG_ENGINE_STRICT=false \
MAILER_URL=smtp://127.0.0.1:1025

RUN <<EOF
set -e
Expand Down Expand Up @@ -59,7 +60,8 @@
php-${PHP_VERSION}-redis \
openssl-config \
mariadb-11.2 \
jq
jq \
mailpit

mkdir -p /var/tmp /run/mysqld
mariadb-install-db --datadir=/var/lib/mariadb --user=root
Expand Down
1 change: 1 addition & 0 deletions rootfs/etc/Procfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ nginx: /usr/sbin/nginx
php-fpm: /usr/sbin/php-fpm
mysql: /usr/bin/mariadbd --basedir=/usr --datadir=/var/lib/mariadb --plugin-dir=/usr/lib/mariadb/plugin --user=www-data
valkey: /usr/bin/valkey-server --dir /tmp
mailpit: /usr/bin/mailpit --db-file /tmp/mailpit.db

0 comments on commit 834bba0

Please sign in to comment.