-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathdocker-compose.yml
43 lines (41 loc) · 920 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
version: "3.8"
# Start the dev container
# $ docker-compose run php sh
# Add a docker-compose.override.yml if you need to change one of the following (it won't be tracked)
services:
php-8.1:
build:
context: .docker
args:
BASE_IMAGE: php:8.1-cli-alpine
volumes:
- .:/usr/src/eris
user: 1000:1000
working_dir: /usr/src/eris
php-8.2:
build:
context: .docker
args:
BASE_IMAGE: php:8.2-cli-alpine
volumes:
- .:/usr/src/eris
user: 1000:1000
working_dir: /usr/src/eris
php-8.3:
build:
context: .docker
args:
BASE_IMAGE: php:8.3-cli-alpine
volumes:
- .:/usr/src/eris
user: 1000:1000
working_dir: /usr/src/eris
php-8.4:
build:
context: .docker
args:
BASE_IMAGE: php:8.4-cli-alpine
volumes:
- .:/usr/src/eris
user: 1000:1000
working_dir: /usr/src/eris