-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathdocker-compose-example.yml
80 lines (65 loc) · 1.73 KB
/
docker-compose-example.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
version: '2.4'
services:
web:
image: nfqlt/apache24-fastcgi
ports:
- '10.24.8.177:80:80'
links:
- fastcgi
volumes:
- './src:/home/project/src'
environment:
APACHE_DOCUMENTROOT: /home/project/src/web
NFQ_PROJECT_ROOT: /home/project/src
NFQ_ENABLE_APACHE_MODULES: rewrite
fastcgi:
image: nfqlt/php73-fpm
links:
- mysql
volumes:
- './src:/home/project/src'
environment:
NFQ_PROJECT_ROOT: /home/project/src
NFQ_ENABLE_PHP_MODULES: 'mysqlnd curl json pdo pdo_mysql mcrypt ctype tokenizer simplexml intl opcache mbstring xml zip dom xmlwriter xmlreader iconv xdebug'
mysql:
image: nfqlt/mysql55
ports:
- '10.24.8.177:3306:3306'
volumes_from:
- 'service:mysqlVol:rw'
mysqlVol:
image: nfqlt/mysql55-data
volumes:
- /var/lib/mysql
dev:
image: nfqlt/php73-dev
ports:
- '10.24.8.177:22:22'
links:
- mysql
volumes:
- './src:/home/project/src'
- '/home/project/.ssh:/home/project/.ssh'
- '/etc/ssh:/etc/ssh'
- '/etc/gitconfig:/etc/gitconfig'
- '/etc/environment:/etc/environment-vm:ro'
- '/vagrant/bash_custom:/home/project/.bash_custom'
environment:
NFQ_ENABLE_PHP_MODULES: 'mysqlnd curl json pdo pdo_mysql mcrypt ctype tokenizer simplexml intl opcache mbstring xml zip dom xmlwriter xmlreader iconv xdebug'
NFQ_PROJECT_ROOT: /home/project/src
mail:
image: nfqlt/mailhog
ports:
- '10.24.8.177:1080:80'
- '10.24.8.177:25:25'
linker:
image: nfqlt/linker18ce
volumes:
- '/run/docker.sock:/run/docker.sock'
volumes: { }
networks:
default:
ipam:
config:
-
subnet: 10.24.8.177/28