8000 added mailcatcher · Klizzy/symfony-docker@7c6f5e9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c6f5e9

Browse files
committed
added mailcatcher
1 parent 6bffcb8 commit 7c6f5e9

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ This repository currently contains support for PHP 7.2 up to PHP 8.2.1. Just che
1212
* [Deployer](https://github.com/deployphp/deployer)
1313
* ZSH
1414
* Docker-sync / native docker volumes (OS will be detected)
15+
* Docker container for: redis, rabbitmq and mailcatcher
1516

1617

1718
## Setup

docker-compose.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,36 @@ services:
88
MYSQL_ROOT_PASSWORD: root
99
MYSQL_DATABASE: root
1010
ports:
11-
- 3336:3306
11+
- "3336:3306"
1212
php:
13-
image: klizzy/php-base:8.1
13+
image: klizzy/php-base:8.2.1
1414
container_name: klizzy_php
1515
environment:
1616
APACHE_DOCUMENT_ROOT: /var/www/public
1717
volumes:
1818
- ./www:/var/www
1919
ports:
20-
- 8080:80
20+
- "8080:80"
2121
redis:
2222
image: redis:6.2.3
2323
container_name: klizzy_redis
2424
ports:
25-
- 6379:6379
25+
- "6379:6379"
2626
rabbitmq:
2727
image: rabbitmq:3.8.16-management
2828
container_name: klizzy_rabbitmq
2929
environment:
3030
RABBITMQ_DEFAULT_USER: admin
3131
RABBITMQ_DEFAULT_PASS: admin
3232
ports:
33-
- 15672:15672
34-
- 5672:5672
33+
- "15672:15672"
34+
- "5672:5672"
35+
mailer:
36+
image: schickling/mailcatcher
37+
container_name: klizzy_mailcatcher
38+
restart: unless-stopped
39+
ports:
40+
- "1025"
41+
- "1080:1080"
3542
volumes:
3643
symfony-docker-volume: {}

0 commit comments

Comments
 (0)
0