forked from phalcon/cphalcon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-local.yml
53 lines (45 loc) · 1.02 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
# 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
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