forked from UweGerdes/frontend-development
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (53 loc) · 1.24 KB
/
Copy pathdocker-compose.yml
File metadata and controls
58 lines (53 loc) · 1.24 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
version: '2'
services:
baseimage:
build:
context: https://github.com/UweGerdes/docker-baseimage.git
args:
- APT_PROXY
- TZ
image: uwegerdes/baseimage
container_name: baseimage
data:
build:
context: https://github.com/UweGerdes/docker-data.git
image: uwegerdes/data
container_name: data
volumes:
- ./htdocs:/var/www/htdocs
mysql:
build:
context: https://github.com/UweGerdes/docker-mysql.git
args:
- MYSQL_ROOT_PASSWORD=123456
image: uwegerdes/mysql
container_name: mysql
volumes:
- ./src/mysql:/entrypoint-initdb.d
mail:
build:
context: https://github.com/UweGerdes/docker-mail.git
image: uwegerdes/mail
container_name: mail
php-fpm:
build:
context: https://github.com/UweGerdes/docker-php-fpm.git
image: uwegerdes/php-fpm
container_name: php-fpm
volumes_from:
- data
links:
- mysql
- mail:mail.local
nginx:
build:
context: https://github.com/UweGerdes/docker-nginx.git
image: uwegerdes/nginx
container_name: nginx
ports:
- "3080:80"
volumes_from:
- data
- php-fpm
volumes:
- ./src/nginx/sites-available:/etc/nginx/sites-available