Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
85 lines (78 loc) · 2.18 KB
/
Copy pathdocker-compose.yml
File metadata and controls
85 lines (78 loc) · 2.18 KB
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
# For local development only.
name: ${PROJECT_PREFIX:-migrations}
services:
migrations-dev-8.2:
container_name: ${PROJECT_PREFIX:-migrations}-dev-8.2
hostname: ${PROJECT_PREFIX:-migrations}-dev-82
build:
dockerfile: resources/docker/develop/Dockerfile
args:
PHP_VERSION: 8.2
UID: ${UID:-1000}
GID: ${GID:-1000}
working_dir: /srv
volumes:
- .:/srv
extra_hosts:
- "host.docker.internal:host-gateway"
migrations-dev-8.3:
container_name: ${PROJECT_PREFIX:-migrations}-dev-8.3
hostname: ${PROJECT_PREFIX:-migrations}-dev-83
build:
dockerfile: resources/docker/develop/Dockerfile
args:
PHP_VERSION: 8.3
UID: ${UID:-1000}
GID: ${GID:-1000}
working_dir: /srv
volumes:
- .:/srv
extra_hosts:
- "host.docker.internal:host-gateway"
migrations-dev-8.4:
container_name: ${PROJECT_PREFIX:-migrations}-dev-8.4
hostname: ${PROJECT_PREFIX:-migrations}-dev-84
build:
dockerfile: resources/docker/develop/Dockerfile
args:
PHP_VERSION: 8.4
UID: ${UID:-1000}
GID: ${GID:-1000}
working_dir: /srv
volumes:
- .:/srv
extra_hosts:
- "host.docker.internal:host-gateway"
migrations-dev-8.5:
container_name: ${PROJECT_PREFIX:-migrations}-dev-8.5
hostname: ${PROJECT_PREFIX:-migrations}-dev-85
build:
dockerfile: resources/docker/develop/Dockerfile
args:
PHP_VERSION: 8.5
UID: ${UID:-1000}
GID: ${GID:-1000}
working_dir: /srv
volumes:
- .:/srv
extra_hosts:
- "host.docker.internal:host-gateway"
mysql:
container_name: ${PROJECT_PREFIX:-migrations}-dev-mysql
image: mysql:8.0
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_USER=phalcon
- MYSQL_DATABASE=phalcon
- MYSQL_PASSWORD=secret
extra_hosts:
- "host.docker.internal:host-gateway"
postgres:
container_name: ${PROJECT_PREFIX:-migrations}-dev-postgres
image: postgres:18-alpine
environment:
- POSTGRES_PASSWORD=secret
- POSTGRES_USER=phalcon
- POSTGRES_DB=phalcon
extra_hosts:
- "host.docker.internal:host-gateway"