This repository was archived by the owner on Jun 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
82 lines (79 loc) · 1.84 KB
/
docker-compose.yml
File metadata and controls
82 lines (79 loc) · 1.84 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---
version: "2"
volumes:
mysqlData:
driver: local
services:
webserver:
image: "nginx:1.11"
links:
- "php"
volumes:
- "./Build/docker/nginx.conf:/etc/nginx/nginx.conf"
- "./:/var/www/"
- "./logs/webserver/:/var/log/nginx/"
env_file:
- "./.env"
environment:
VIRTUAL_HOST: "${HOSTNAME}"
VIRTUAL_PORT: 80
php:
image: "larsnieuwenhuizen/php"
command: "php-fpm7.0 -F"
working_dir: "/var/www/"
env_file:
- "./.env"
links:
- "db"
volumes:
- "./Build/docker/php-fpm-pool.conf:/etc/php/7.0/fpm/pool.d/www.conf"
- "./Build/docker/ssmtp.conf:/etc/ssmtp/ssmtp.conf"
- "./Build/docker/mailcatcher.ini:/etc/php/7.0/cli/conf.d/mailcatcher.ini"
- "./:/var/www/"
db:
image: "mariadb"
env_file:
- "./.env"
volumes:
- "mysqlData:/var/lib/mysql"
- "./../logs/db/:/var/log/mysql/"
- "./Build/docker/mariadb.cnf:/etc/mysql/conf.d/mariadb.cnf"
ports:
- "33${PORTSUFFIX}:3306"
composer:
image: "composer/composer:alpine"
working_dir: "/app/"
volumes:
- "./:/app/"
- "~/.composer/:/composer/"
env_file:
- "./.env"
symfony:
image: "larsnieuwenhuizen/symfony-installer"
working_dir: "/app/"
volumes:
- "./:/app/"
env_file:
- "./.env"
laravel:
image: "larsnieuwenhuizen/laravel-installer"
working_dir: "/app/"
volumes:
- "./:/app/"
env_file:
- "./.env"
mailcatcher:
image: "schickling/mailcatcher"
environment:
VIRTUAL_HOST: "${MAILCATCHER_HOSTNAME}"
VIRTUAL_PORT: 1080
elasticsearch:
image: "elasticsearch:2.4"
env_file:
- "./.env"
ports:
- "92${PORTSUFFIX}:9200"
- "93${PORTSUFFIX}:9300"
environment:
VIRTUAL_HOST: "${ELASTICSEARCH_HOSTNAME}"
VIRTUAL_PORT: 9200