generated from dehy/template-symfony
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
49 lines (44 loc) · 1021 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
services:
app:
build:
context: .
dockerfile: docker/Dockerfile
environment:
- APP_ENV=dev
messenger-async:
build:
context: .
dockerfile: docker/Dockerfile
command: messenger-async
environment:
- APP_ENV=dev
depends_on:
- app
scheduler-ffta-licensees:
build:
context: .
dockerfile: docker/Dockerfile
command: scheduler-ffta_licensees
environment:
- APP_ENV=dev
depends_on:
- app
###> doctrine/doctrine-bundle ###
database:
image: mariadb:${MARIADB_VERSION:-10.11.5}
environment:
MARIADB_ROOT_PASSWORD: "root"
MARIADB_DATABASE: ${MARIADB_DATABASE:-app}
MARIADB_PASSWORD: ${MARIADB_PASSWORD:-ChangeMe}
MARIADB_USER: ${MARIADB_USER:-symfony}
volumes:
- db-data:/var/lib/mysql:rw
###< doctrine/doctrine-bundle ###
adminer:
image: dehy/adminer
ports:
- "8081:80"
volumes:
###> doctrine/doctrine-bundle ###
db-data:
###< doctrine/doctrine-bundle ###