-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
70 lines (61 loc) · 1.38 KB
/
compose.yaml
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
x-defaults:
default: &default
restart: unless-stopped
environment:
PHP_ENABLE_XDEBUG: 0
# ports:
# - "80:80"
volumes:
- "/home/peter/github:/app"
extra_hosts:
- "host.docker.internal:172.17.0.1"
services:
php74:
<<: *default
build:
context: .
dockerfile: apache/7.4/Dockerfile
image: 'sarkedev/php:7.4-apache'
container_name: php74
php81:
<<: *default
build:
context: .
dockerfile: apache/8.1/Dockerfile
image: 'sarkedev/php:8.1-apache'
container_name: php81
php84:
<<: *default
build:
context: .
dockerfile: apache/8.4/Dockerfile
image: 'sarkedev/php:8.4-apache'
container_name: php84
github-php74:
<<: *default
build:
context: .
dockerfile: apache/7.4/Dockerfile
image: 'ghcr.io/sarkedev/php:7.4-apache'
container_name: php74
github-php81:
<<: *default
build:
context: .
dockerfile: apache/8.1/Dockerfile
image: 'ghcr.io/sarke/php:8.1-apache'
container_name: php81
github-php84:
<<: *default
build:
context: .
dockerfile: apache/8.4/Dockerfile
image: 'ghcr.io/sarke/php:8.4-apache'
container_name: php84
github-php84-fpm:
<<: *default
build:
context: .
dockerfile: fpm/8.4/Dockerfile
image: 'ghcr.io/sarke/php:8.4-fpm'
container_name: php84-fpm