-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathdocker-compose.yml
123 lines (121 loc) · 3.03 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
122
123
version: "3"
services:
chrome_headless:
image: alpeware/chrome-headless-trunk
ports:
- "9222:9222"
cap_add:
- SYS_ADMIN
networks:
default_network:
security_opt:
- seccomp:unconfined
#extra_hosts:
# - "local.phpimagick.com:imagick_php_backend"
# - "local.phpimagick.com:162.242.195.82"
css_builder:
build: containers/css_builder
volumes:
- .:/var/app
imagick_php_backend_im6:
build: containers/php_backend_im6
image: imagick_php_backend_im6:latest
networks:
default_network:
volumes:
- .:/var/app
restart: always
imagick_php_backend_im6_debug:
build: containers/php_backend_im6_debug
environment:
- PHP_IDE_CONFIG=serverName=PHP_IMAGICK_DEBUG
image: imagick_php_backend_im6_debug:latest
depends_on:
- imagick_php_backend_im6
networks:
default_network:
volumes:
- .:/var/app
restart: always
imagick_php_backend_im7:
build: containers/php_backend_im7
image: imagick_php_backend_im7:latest
networks:
default_network:
volumes:
- .:/var/app
restart: always
imagick_php_backend_im7_debug:
build: containers/php_backend_im7_debug
environment:
- PHP_IDE_CONFIG=phpimagick
image: imagick_php_backend_im7_debug:latest
depends_on:
- imagick_php_backend_im7
networks:
default_network:
volumes:
- .:/var/app
restart: always
imagick_php_base_im6:
build: containers/imagick_php_base_im6
image: imagick_php_base_im6:latest
command: ["tail", "-f", "/var/app/containers/imagick_php_base_im6/README.md"]
volumes:
- .:/var/app
imagick_php_base_im7:
build: containers/imagick_php_base_im7
image: imagick_php_base_im7:latest
command: ["tail", "-f", "/var/app/containers/imagick_php_base_im7/README.md"]
volumes:
- .:/var/app
js_builder:
build: containers/js_builder
volumes:
- .:/var/app
installer:
build: containers/installer
environment:
- COMPOSER_CACHE_DIR=/var/app/var/cache/composer
- COMPOSER_ALLOW_SUPERUSER=1
networks:
default_network:
volumes:
- .:/var/app
redis:
image: redis:4.0.6
volumes:
- ./containers/redis/redis.conf:/usr/local/etc/redis/redis.conf
restart: always
networks:
default_network:
nginx:
build: containers/nginx
image: imagick_nginx:latest
# command: ["/usr/sbin/nginx", "-c", "/etc/config/nginx.conf"]
# depends_on:
# - imagick_php_backend
volumes:
- .:/var/app
# - ./containers/web_server/config:/etc/config
restart: always
networks:
default_network:
aliases:
- local.phpimagick.com
- internal.phpimagick.com
# sass_dev_builder:
# build: containers/sass_dev_builder
# volumes:
# - .:/var/app
workers:
build: containers/background_worker
image: imagick_php_worker:latest
depends_on:
- redis
# - imagick_php_backend
volumes:
- .:/var/app
restart: always
networks:
default_network: