-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
121 lines (111 loc) · 3 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
version: '2'
services:
applications:
image: tianon/true
volumes:
- .:/var/www
workspace:
build:
context: laradock/workspace
args:
- INSTALL_XDEBUG=true
- INSTALL_NODE=true
- INSTALL_YARN=true
- COMPOSER_GLOBAL_INSTALL=true
- INSTALL_AEROSPIKE_EXTENSION=false
- PUID=1000
- PGID=1000
- NODE_VERSION=stable
- TZ=GMT
volumes_from:
- applications
extra_hosts:
# IMPORTANT: Replace with your Docker Host IP (will be appended to /etc/hosts)
- "dockerhost:10.0.75.1"
ports:
- "2222:22"
tty: true
php-fpm:
build:
context: laradock/php-fpm
dockerfile: Dockerfile-70
args:
- INSTALL_XDEBUG=true
volumes_from:
- applications
expose:
- "9000"
links:
- workspace
extra_hosts:
# IMPORTANT: Replace with your Docker Host IP (will be appended to /etc/hosts)
- "dockerhost:10.0.75.1"
environment:
# IMPORTANT: Set the Remote Interpreter entry matching name to `laravel`
- PHP_IDE_CONFIG=serverName=laravel
- INSTALL_AEROSPIKE_EXTENSION=false
nginx:
build:
context: laradock/nginx
args:
- PHP_UPSTREAM=php-fpm
volumes_from:
- applications
volumes:
- ./logs/nginx/:/var/log/nginx
ports:
- "80:80"
- "443:443"
links:
- php-fpm
mariadb:
build: laradock/mariadb
volumes:
- mysql:/var/lib/mysql
ports:
- "3306:3306"
environment:
MYSQL_DATABASE: homestead
MYSQL_USER: homestead
MYSQL_PASSWORD: secret
MYSQL_ROOT_PASSWORD: root
redis:
build: laradock/redis
volumes:
- redis:/data
ports:
- "6379:6379"
beanstalkd:
build: laradock/beanstalkd
ports:
- "11300:11300"
privileged: true
links:
- php-fpm
beanstalkd-console:
build: laradock/beanstalkd-console
ports:
- "2080:2080"
links:
- beanstalkd
elasticsearch:
build: laradock/elasticsearch
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
- elasticsearch-pkugins:/usr/share/elasticsearch/data
ports:
- "9200:9200"
- "9300:9300"
links:
- php-fpm
volumes:
redis:
driver: "local"
mysql:
driver: "local"
elasticsearch-data:
driver: "local"
elasticsearch-pkugins:
driver: "local"
sessions: ## nothing is connected to this (- ./data/sessions:/sessions)
driver: "local"