-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.local.yml
More file actions
68 lines (66 loc) · 1.5 KB
/
Copy pathdocker-compose.local.yml
File metadata and controls
68 lines (66 loc) · 1.5 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
64
65
66
67
68
version: '3.8'
services:
browserless:
image: browserless/chrome
env_file:
- .docker/.env
ports:
- ${HTTP_BROWSERLESS_PORT}:3000
minio:
env_file:
- .docker/.env
image: minio/minio:RELEASE.2020-09-10T22-02-45Z
command: server /export
ports:
- ${MINIO_PORT}:9000
environment:
MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY}
MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}
volumes:
- ./.docker/storage:/export
devmail:
env_file:
- .docker/.env
image: djfarrelly/maildev
ports:
- ${HTTP_DEVMAIL_PORT}:80
adminer:
image: adminer
environment:
ADMINER_DEFAULT_SERVER: mariadb
links:
- mariadb
ports:
- ${ADMINER_PORT}:8080
mariadb:
volumes:
- ./.docker/database:/var/lib/mysql
nginx:
volumes:
#- .:/var/www
- ./var/log/nginx:/var/log/nginx
phpstan:
volumes:
- applicationData:/app
image: phpstan/phpstan:latest
env_file:
- .docker/.env
command: analyse -c phpstan.neon --ansi --pro
ports:
- ${PHPSTAN_PRO_WEB_PORT}:${PHPSTAN_PRO_WEB_PORT}
php-fpm:
environment:
APP_ENV: dev
COMPOSER_MEMORY_LIMIT: -1
links:
- devmail
volumes:
- ./.docker/.composerAuth.json:/root/.config/composer/auth.json
- applicationData:/var/www
volumes:
applicationData:
driver: local
driver_opts:
type: nfs
o: addr=host.docker.internal,rw,nolock,hard,nointr,nfsvers=3
device: ":/System/Volumes/Data$PWD"