forked from phalcon/cphalcon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (51 loc) · 1.12 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
# For local development only.
version: '3'
services:
cphalcon-7.4:
container_name: cphalcon-7.4
hostname: cphalcon-74
build: docker/7.4
working_dir: /srv
volumes:
- .:/srv
cphalcon-8.0:
container_name: cphalcon-8.0
hostname: cphalcon-80
build: docker/8.0
working_dir: /srv
volumes:
- .:/srv
cphalcon-8.1:
container_name: cphalcon-8.1
hostname: cphalcon-81
build: docker/8.1
working_dir: /srv
volumes:
- .:/srv
mysql:
container_name: cphalcon-mysql
image: mysql:5.7
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_USER=phalcon
- MYSQL_DATABASE=phalcon
- MYSQL_PASSWORD=secret
postgres:
container_name: cphalcon-postgres
image: postgres:12-alpine
ports:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=secret
- POSTGRES_USER=phalcon
- POSTGRES_DB=phalcon
redis:
container_name: cphalcon-redis
image: redis:5-alpine
ports:
- "6379:6379"
memcached:
container_name: cphalcon-memcached
image: memcached:1.5-alpine