-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (45 loc) · 969 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (45 loc) · 969 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
43
44
45
46
47
48
version: "3.8"
services:
php:
container_name: 'php'
build:
dockerfile: ./.dev/docker/images/php-7.0/Dockerfile
context: ./
args:
- BUILDKIT_INLINE_CACHE=1
tty: true
ports:
- '8081:8081'
extra_hosts:
- 'host.docker.internal:host-gateway'
restart: unless-stopped
environment:
- 'TZ=UTC'
- 'COMPOSE_CONVERT_WINDOWS_PATHS=1'
volumes:
- './app/:/app/'
networks:
- network1
php-tools:
container_name: 'php-tools'
build:
dockerfile: ./.dev/docker/images/php-tools/Dockerfile
context: ./
args:
- BUILDKIT_INLINE_CACHE=1
tty: true
ports:
- '8081:8081'
extra_hosts:
- 'host.docker.internal:host-gateway'
restart: unless-stopped
environment:
- 'TZ=UTC'
- 'COMPOSE_CONVERT_WINDOWS_PATHS=1'
volumes:
- './app/:/app/'
networks:
- network1
networks:
network1:
driver: bridge