forked from php-fig/www.php-fig.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (41 loc) · 906 Bytes
/
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
version: '3.5'
services:
php:
build:
context: docker/php
user: fig
volumes:
- .:/fig-website
- ./docker/php/xdebug.ini:/usr/local/etc/php/conf.d/xdebug.ini
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
PHP_IDE_CONFIG: "serverName=PHP-FIG"
working_dir: /fig-website
command:
- 'sculpin'
- 'generate'
- '--watch'
- '--server'
ports:
- 8000:8000
ruby:
build:
context: docker/ruby
user: 1000:1000
working_dir: /fig-website
volumes:
- .:/fig-website
entrypoint: 'sh'
node-sass:
image: catchdigital/node-sass:8.12.0-alpine
user: 1000:1000
working_dir: /fig-website
volumes:
- .:/fig-website
command:
- 'node-sass'
- '--output-style=compressed'
- '--watch'
- 'source/_sass/all.scss'
- 'output_dev/css/all.css'