-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcompose.yml
26 lines (24 loc) · 841 Bytes
/
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
services:
###> doctrine/doctrine-bundle ###
database:
image: mariadb:${MARIADB_VERSION:-10.11}
environment:
# You should definitely change the password in production
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-!ChangeMe!}
MYSQL_DATABASE: ${MYSQL_DATABASE:-aln}
volumes:
- aln_database_data:/var/lib/mysql/data:rw
# You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!
# - ./docker/db/data:/var/lib/postgresql/data:rw
###< doctrine/doctrine-bundle ###
rabbitmq:
image: rabbitmq:3.7-management
###> symfony/mailer ###
mailer:
image: schickling/mailcatcher
ports: [1025, 1080]
###< symfony/mailer ###
volumes:
###> doctrine/doctrine-bundle ###
aln_database_data:
###< doctrine/doctrine-bundle ###