-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdocker-compose.override.yml
48 lines (46 loc) · 1.26 KB
/
docker-compose.override.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
version: '3'
services:
composer:
build:
args:
composer_dev_arg:
volumes:
- ./composer.json:/app/composer.json
- ./composer.lock:/app/composer.lock
- ./vendor:/app/vendor
npm:
volumes:
- ./npm-shrinkwrap.json:/npm-shrinkwrap.json
- ./package.json:/package.json
- node_modules:/node_modules
assets_builder:
volumes:
- ./assets/images:/assets/images
- assets:/web
- build:/build
- node_modules:/node_modules
- ./gulpfile.js:/gulpfile.js
app:
environment:
- APP_ENV=${APP_ENV}
volumes:
- ./:/srv/journal
- ./.docker/php.ini:/usr/local/etc/php/conf.d/x-dev.ini
- /srv/journal/var
- build:/srv/journal/build
- critical_css:/srv/journal/build/critical-css
- ./vendor:/srv/journal/vendor
web:
volumes:
- assets:/srv/journal/web
api_dummy:
platform: linux/amd64
critical_css:
volumes:
- critical_css:/build/critical-css
- node_modules:/node_modules
volumes:
assets:
build:
critical_css:
node_modules: