-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
68 lines (64 loc) · 1.88 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
services:
app_dev:
build:
dockerfile: .docker/images/app/Dockerfile
context: .
env_file:
- .docker/local.env
- .env
command: /start-reload.sh # Only for development. Reloads Gunicorn when source changes.
healthcheck:
disable: true # Disable healthcheck for local development.
ports:
- "8000:8000"
volumes:
- "./app:/app:ro"
- "./tests:/tests:rw" # give read-write permission to write junitxml test reports here.
- "./tmp:/tmp:rw" # give permission to export the GraphQL schema here.
- "./.docker:/.docker:ro" # Functional Tests read files from .docker/localstack/dynamodb.
depends_on:
localstack:
condition: service_started
memcached:
condition: service_started
snowplow:
condition: service_healthy # snowplow needs to be healthy before tests can start.
qdrant:
condition: service_started
localstack:
image: localstack/localstack:0.12.11
env_file:
- .docker/local.env
platform: linux/amd64
ports:
- '4566-4599:4566-4599'
- '8080:8080'
environment:
- LOCALSTACK_API_KEY=${LOCALSTACK_API_KEY}
- DEBUG=1
- SERVICES=dynamodb
- DATA_DIR=/tmp/localstack/data
- DOCKER_HOST=unix:///var/run/docker.sock
- PORT_WEB_UI=8080
- EXTRA_CORS_ALLOWED_HEADERS=Content-Disposition, Content-Type, x-amz-acl
- EXTRA_CORS_EXPOSE_HEADERS=ETag
- HOSTNAME_EXTERNAL=localstack
memcached:
image: library/memcached:1.6
ports:
- '11211:11211'
snowplow:
image: pocket/snowplow-micro:latest
platform: linux/amd64
ports:
- '9090:9090'
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:9090/micro/all"]
interval: 5s
timeout: 10s
retries: 3
start_period: 5s
qdrant:
image: qdrant/qdrant:v0.11.6
ports:
- 6333:6333