blob: bae77823b6df0d6c0d90dfc688ecf717dae45081 (
plain)
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
|
# Containers needed to test all backend services locally
version: '3.7'
services:
httpbin:
image: kennethreitz/httpbin
container_name: httpbin
ports:
- '80:80'
dynamodb:
image: amazon/dynamodb-local
container_name: dynamodb
ports:
- '8000:8000'
command: '-jar DynamoDBLocal.jar -inMemory'
environment:
AWS_ACCESS_KEY_ID: 'placeholder'
AWS_SECRET_ACCESS_KEY: 'placeholder'
working_dir: '/home/dynamodblocal'
mongo:
image: mongo
container_name: mongo
environment:
MONGO_INITDB_DATABASE: 'requests_cache_pytest'
ports:
- '27017:27017'
volumes:
- 'mongodb_data:/data/db'
redis:
container_name: redis
image: docker.io/bitnami/redis
ports:
- '6379:6379'
environment:
ALLOW_EMPTY_PASSWORD: 'yes'
volumes:
- 'redis_data:/bitnami/redis/data'
volumes:
mongodb_data:
driver: local
redis_data:
driver: local
|