-
-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (30 loc) · 717 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (30 loc) · 717 Bytes
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
version: '2'
services:
server:
image: php:8.1-apache
container_name: server
volumes:
- ./examples:/var/www/html
- ./vendor:/var/www/vendor
client:
build: ./examples/client
container_name: client
volumes:
- .:/tmp/ganesha
working_dir: /tmp/ganesha
environment:
GANESHA_EXAMPLE_SERVER: "server"
GANESHA_EXAMPLE_MEMCACHED: "memcached"
GANESHA_EXAMPLE_REDIS: "redis"
GANESHA_EXAMPLE_MONGO: "mongo"
RUN_IN_DOCKER_COMPOSE: 1
XDEBUG_MODE: coverage
memcached:
image: memcached:1.5.4
container_name: memcached
redis:
image: redis:4.0.6
container_name: redis
mongo:
image: mongo:4.0.6
container_name: mongo