-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
54 lines (49 loc) · 1008 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: '3'
services:
###> doctrine/doctrine-bundle ###
db:
image: mariadb:latest
platform: linux/x86_64
container_name: db_pasteur
restart: always
volumes:
- db-data:/var/lib/mysql
environment:
MYSQL_DATABASE: db_pasteur
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
networks:
- dev
ports:
- "3306:3306"
###< doctrine/doctrine-bundle ###
###> phpMyAdmin ###
phpmyadmin:
image: phpmyadmin
container_name: phpmyadmin_pasteur
restart: always
depends_on:
- db
ports:
- "8085:80"
environment:
PMA_HOST: db
networks:
- dev
###< phpMyAdmin ###
###> MailDev ###
maildev:
image: maildev/maildev
container_name: maildev_pasteur
command: bin/maildev --web 80 --smtp 25 --hide-extensions STARTTLS
# MAILER_DSN=smtp://127.0.0.1:1025
ports:
- "8081:80"
- "1025:25"
restart: always
networks:
- dev
###< MailDev ###
networks:
dev:
volumes:
db-data: