forked from phalcon/phalcon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (38 loc) · 893 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:
cphalcon-7.4:
container_name: phalcon-7.4
hostname: phalcon-74
build: docker/7.4
working_dir: /srv
volumes:
- .:/srv
cphalcon-8.0:
container_name: phalcon-8.0
hostname: phalcon-80
build: docker/8.0
working_dir: /srv
volumes:
- .:/srv
mysql:
container_name: phalcon-mysql
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_USER=phalcon
- MYSQL_DATABASE=phalcon
- MYSQL_PASSWORD=secret
postgres:
container_name: phalcon-postgres
image: postgres:12-alpine
environment:
- POSTGRES_PASSWORD=secret
- POSTGRES_USER=phalcon
- POSTGRES_DB=phalcon
redis:
container_name: phalcon-redis
image: redis:5-alpine
memcached:
container_name: phalcon-memcached
image: memcached:1.5-alpine