forked from HHS/Head-Start-TTADP
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
52 lines (52 loc) · 1.13 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
version: "3.5"
services:
api-docs:
image: redocly/redoc
ports:
- "5000:80"
volumes:
- "./docs/openapi/:/usr/share/nginx/html/swagger/"
environment:
- SPEC_URL=swagger/index.yaml
db:
image: postgres:12.4
container_name: postgres_docker
env_file: .env
ports:
- "5432:5432"
volumes:
- dbdata:/var/lib/postgresql/data
minio:
image: minio/minio:RELEASE.2021-01-16T02-19-44Z
env_file: .env
ports:
- "9000:9000"
volumes:
- miniodata:/data
command: server /data
aws-cli:
image: amazon/aws-cli
env_file: .env
command: ["--endpoint-url", "http://minio:9000", "s3api", "create-bucket", "--bucket", "$S3_BUCKET"]
depends_on:
- minio
clamav-rest:
image: ajilaag/clamav-rest
ports:
- "9443:9443"
environment:
- MAX_FILE_SIZE=30M
redis:
image: redis:5.0.6-alpine
command: ['redis-server', '--requirepass', '$REDIS_PASS']
env_file: .env
ports:
- "6379:6379"
mailcatcher:
image: schickling/mailcatcher
ports:
- "1025:1025"
- "1080:1080"
volumes:
dbdata: {}
miniodata: {}