forked from phalcon/migrations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (39 loc) · 915 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
44
45
# For local development only.
version: '3'
services:
migrations-7.4:
container_name: migrations-7.4
hostname: migrations-74
build: docker/7.4
working_dir: /srv
volumes:
- .:/srv
migrations-8.0:
container_name: migrations-8.0
hostname: migrations-80
build: docker/8.0
working_dir: /srv
volumes:
- .:/srv
migrations-8.1:
container_name: migrations-8.1
hostname: migrations-81
build: docker/8.1
working_dir: /srv
volumes:
- .:/srv
mysql:
container_name: migrations-mysql
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_USER=phalcon
- MYSQL_DATABASE=phalcon
- MYSQL_PASSWORD=secret
postgres:
container_name: migrations-postgres
image: postgres:12-alpine
environment:
- POSTGRES_PASSWORD=secret
- POSTGRES_USER=phalcon
- POSTGRES_DB=phalcon