-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (39 loc) · 911 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (39 loc) · 911 Bytes
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
services:
php-fpm:
image: docker.pkg.github.com/shipstream/middleware/php:latest
build: ./docker
environment:
- DEBUG=${DEBUG:-0}
volumes:
- .:/var/www/html
nginx:
image: library/nginx:latest
ports:
- "${HOST_PORT:-80}:80"
links:
- php-fpm
volumes:
- ./docker/nginx.conf:/etc/nginx/templates/default.conf.template:ro
- .:/var/www/html
cli:
image: docker.pkg.github.com/shipstream/middleware/php:latest
build: ./docker
working_dir: /var/www/html
user: www-data
environment:
- DEBUG=${DEBUG:-0}
volumes:
- .:/var/www/html
command:
/bin/true
cron:
image: docker.pkg.github.com/shipstream/middleware/php:latest
build: ./docker
working_dir: /var/www/html
user: root
environment:
- DEBUG=${DEBUG:-0}
volumes:
- .:/var/www/html
command:
/bin/true