-
Notifications
You must be signed in to change notification settings - Fork 22
/
docker-compose.yml
55 lines (50 loc) · 1.3 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
# Containers needed to test all backend services locally
services:
httpbin:
image: kennethreitz/httpbin
container_name: httpbin
ports:
# Use an unprivileged port to support running the Docker daemon as a non-root user (Rootless mode).
# See https://docs.docker.com/engine/security/rootless/#networking-errors
- ${HTTPBIN_CUSTOM_PORT:-8080}:80
httpbin-custom:
container_name: httpbin-custom
build:
context: .
dockerfile: test/server/Dockerfile
ports:
- '8181:8181'
dynamodb:
image: amazon/dynamodb-local
hostname: dynamodb-local
container_name: dynamodb-local
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: aiohttp_client_cache_pytest
ports:
- 27017:27017
volumes:
- 'mongodb_data:/data/db'
redis:
image: docker.io/bitnami/redis
container_name: redis
environment:
ALLOW_EMPTY_PASSWORD: 'yes'
ports:
- 6379:6379
volumes:
- 'redis_data:/bitnami/redis/data'
volumes:
mongodb_data:
driver: local
redis_data:
driver: local