forked from ibrunotome/docker-laravel-appengine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.testing.yml
More file actions
48 lines (45 loc) · 1.03 KB
/
docker-compose.testing.yml
File metadata and controls
48 lines (45 loc) · 1.03 KB
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
version: '3.6'
services:
app-tests:
build:
context: .
dockerfile: Dockerfile.testing
container_name: testing-api-app
ports:
- 80:8080
environment:
- DOCUMENT_ROOT=/app/public
- SKIP_LOCKDOWN_DOCUMENT_ROOT=true
- OPCACHE_SAVE_COMMENTS=1
- OPCACHE_VALIDATE_TIMESTAMPS=1
volumes:
- .:/app
depends_on:
- pgsql-tests
- redis-tests
pgsql-tests:
image: launcher.gcr.io/google/postgresql11
container_name: testing-api-pgsql-tests
ports:
- 5434:5432
environment:
POSTGRES_DB: testing_tests
POSTGRES_USER: testing_tests
POSTGRES_PASSWORD: testing_tests
volumes:
- testing-pgsql-tests:/var/lib/postgresql/data
redis-tests:
image: launcher.gcr.io/google/redis4
container_name: testing-api-redis-tests
volumes:
- testing-redis-tests:/data
ports:
- 6378:6379
networks:
default:
name: testing-api_default
volumes:
testing-pgsql-tests:
driver: local
testing-redis-tests:
driver: local