-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
90 lines (81 loc) · 2.06 KB
/
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
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
version: "3.4"
services:
mysql:
image: mysql:8.0
command: mysqld --default-authentication-plugin=mysql_native_password
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: secret
MYSQL_DATABASE: foo
pgsql:
image: postgres:13
ports:
- 5432:5432
environment:
POSTGRES_PASSWORD: secret
POSTGRES_USER: root
POSTGRES_DB: foo
php72:
depends_on: [mysql, pgsql]
build:
context: .
dockerfile: ./docker/Dockerfile72
working_dir: /app
user: ${UID:-1000}:${GID:-1000}
volumes:
- .:/app
php73:
depends_on: [mysql, pgsql]
build:
context: .
dockerfile: ./docker/Dockerfile73
working_dir: /app
user: ${UID:-1000}:${GID:-1000}
volumes:
- .:/app
php74:
depends_on: [mysql, pgsql]
build:
context: .
dockerfile: ./docker/Dockerfile74
working_dir: /app
user: ${UID:-1000}:${GID:-1000}
volumes:
- .:/app
php80:
depends_on: [mysql, pgsql]
build:
context: .
dockerfile: ./docker/Dockerfile80
working_dir: /app
user: ${UID:-1000}:${GID:-1000}
volumes:
- .:/app
php81:
depends_on: [mysql, pgsql]
build:
context: .
dockerfile: ./docker/Dockerfile81
working_dir: /app
user: ${UID:-1000}:${GID:-1000}
volumes:
- .:/app
php82:
depends_on: [mysql, pgsql]
build:
context: .
dockerfile: ./docker/Dockerfile82
working_dir: /app
user: ${UID:-1000}:${GID:-1000}
volumes:
- .:/app
php83:
depends_on: [mysql, pgsql]
build:
context: .
dockerfile: ./docker/Dockerfile83
working_dir: /app
user: ${UID:-1000}:${GID:-1000}
volumes:
- .:/app