Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
63 lines (59 loc) · 1.69 KB
/
Copy pathdocker-compose.yml
File metadata and controls
63 lines (59 loc) · 1.69 KB
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
55
56
57
58
59
60
61
62
63
services:
php:
image: ${APPLICATION:-}php
build:
context: .
args:
NODE_VERSION: ${NODE_VERSION}
PHP_VERSION: ${PHP_VERSION}
ports:
- "80:80"
# Dev-server Vite (make assets-dev)
- "5173:5173"
volumes:
- ./:/app
- ./var/log/php/:/app/var/log
- ./docker/xdebug_profile/:/tmp/docker_xdebug/
# Uncomment the following line to enable the blackfire extension, remember that you won't be able to make coverage while blackfire is enabled
# - ./docker/php/conf.d/blackfire.ini:/usr/local/etc/php/conf.d/blackfire.ini
extra_hosts:
# Ensure that host.docker.internal is correctly defined on Linux
- host.docker.internal:host-gateway
environment:
XDEBUG_MODE: ${XDEBUG_MODE:-off}
NODE_OPTIONS: ${NODE_OPTIONS:-}
mysql:
image: mysql:${MYSQL_VERSION}
environment:
MYSQL_DATABASE: ${APPLICATION:-project_database}
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: dev
MYSQL_PASSWORD: dev
ports:
- "3306:3306"
hostname: mysql
volumes:
- ./var/data/mysql:/var/lib/mysql/:rw
maildev:
image: maildev/maildev:2.1.0
hostname: maildev
ports:
- "1080:80"
command: bin/maildev --web 80 --smtp 25 --hide-extensions STARTTLS
# blackfire:
# image: blackfire/blackfire:2
# ports: [ "8307" ]
# env_file: .env.blackfire
files.minio:
image: minio/minio
environment:
MINIO_ROOT_USER: access1234
MINIO_ROOT_PASSWORD: secret1234
MINIO_REGION: eu-west-1
MINIO_DOMAIN: minio
volumes:
- ./var/data/minio:/data
command: server /data --console-address ":9001"
ports:
- "9000:9000"
- "9001:9001"