-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (48 loc) · 973 Bytes
/
docker-compose.yml
File metadata and controls
53 lines (48 loc) · 973 Bytes
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
version: '3'
services:
###> doctrine/doctrine-bundle ###
db:
image: mariadb:latest
platform: linux/x86_64
container_name: db_cyrcrea
restart: always
volumes:
- db-data:/var/lib/mysql
environment:
MYSQL_DATABASE: db_cyrcrea
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
networks:
- dev
ports:
- "3306:3306"
###< doctrine/doctrine-bundle ###
###> phpMyAdmin ###
phpmyadmin:
image: phpmyadmin
container_name: phpmyadmin_cyrcrea
restart: always
depends_on:
- db
ports:
- "8085:80"
environment:
PMA_HOST: db
networks:
- dev
###< phpMyAdmin ###
###> MailDev ###
maildev:
image: maildev/maildev
container_name: maildev_cyrcrea
command: bin/maildev --web 80 --smtp 1025 --hide-extensions STARTTLS
ports:
- "8081:80"
- "1025:1025"
restart: always
networks:
- dev
###< MailDev ###
networks:
dev:
volumes:
db-data: