-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
107 lines (107 loc) · 2.32 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
services:
api-docs:
image: redocly/redoc
profiles:
- full_stack
ports:
- "5003:80"
volumes:
- "./docs/openapi/:/usr/share/nginx/html/swagger/"
environment:
- SPEC_URL=swagger/index.yaml
db:
image: postgres:15.6
container_name: postgres_docker
env_file: .env
profiles:
- minimal_required_postgres
ports:
- "5432:5432"
volumes:
- dbdata:/var/lib/postgresql/data
shm_size: 1g
minio:
image: minio/minio:RELEASE.2024-01-01T16-36-33Z
profiles:
- full_stack
env_file: .env
ports:
- "9000:9000"
- "9001:9001"
volumes:
- minio-data:/data
command: server /data --console-address ":9001"
aws-cli:
image: amazon/aws-cli
profiles:
- full_stack
env_file: .env
command: ["--endpoint-url", "http://minio:9000", "s3api", "create-bucket", "--bucket", "$S3_BUCKET"]
depends_on:
- minio
clamav-rest:
image: ajilaag/clamav-rest
profiles:
- full_stack
ports:
- "9443:9443"
environment:
- MAX_FILE_SIZE=30M
similarity_api:
build:
context: ./similarity_api
profiles:
- minimal_required_python
ports:
- "9100:8080"
env_file: .env
depends_on:
- db
volumes:
- "./similarity_api/src:/app:rw"
redis:
image: redis:5.0.6-alpine
profiles:
- minimal_required_redis
command: ['redis-server', '--requirepass', '$REDIS_PASS']
env_file: .env
ports:
- "6379:6379"
mailcatcher:
image: schickling/mailcatcher
profiles:
- full_stack
ports:
- "1025:1025"
- "1080:1080"
testingonly:
build:
context: .
profiles:
- full_stack
ports:
- "9999:9999"
depends_on:
- db
volumes:
- ".:/app:rw"
command: yarn start:testingonly
environment:
- POSTGRES_HOST=postgres_docker
- NODE_ENV=development
sftp:
image: jmcombs/sftp:alpine
profiles:
- full_stack
volumes:
- ./test-sftp:/home/tta_ro/ProdTTAHome
- ./test-sftp/sshd_config:/etc/ssh/sshd_config
ports:
- "${SFTP_EXPOSED_PORT:-22}:22"
command: ${ITAMS_MD_USERNAME:-tta_ro}:${ITAMS_MD_PASSWORD:-password}:1001
volumes:
dbdata: {}
minio-data: {}
yarn-cache: {}
node_modules-backend: {}
node_modules-frontend: {}