forked from phalcon/cphalcon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-local.yml
59 lines (51 loc) · 1.16 KB
/
docker-compose-local.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.
services:
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
cphalcon-8.2:
container_name: cphalcon-8.2
hostname: cphalcon-82
build: docker/8.2
working_dir: /srv
volumes:
- .:/srv
cphalcon-8.3:
container_name: cphalcon-8.3
hostname: cphalcon-83
build: docker/8.3
working_dir: /srv
volumes:
- .:/srv
mysql:
container_name: cphalcon-mysql
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_USER=phalcon
- MYSQL_DATABASE=phalcon
- MYSQL_PASSWORD=secret
postgres:
container_name: cphalcon-postgres
image: postgres:12-alpine
environment:
- POSTGRES_PASSWORD=secret
- POSTGRES_USER=phalcon
- POSTGRES_DB=phalcon
redis:
container_name: cphalcon-redis
image: redis:5-alpine
memcached:
container_name: cphalcon-memcached
image: memcached:1.5-alpine