-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
80 lines (75 loc) · 2.11 KB
/
docker-compose.yml
File metadata and controls
80 lines (75 loc) · 2.11 KB
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
services:
app:
build:
context: .
dockerfile: Dockerfile
develop:
watch:
- action: rebuild
path: ./app/strelka_ui
- action: rebuild
path: ./ui/src
container_name: strelka-ui-webapp
ports:
- "8080:8080"
depends_on:
- postgresdb
- minio
environment:
DATABASE_HOST: postgresdb
DATABASE_NAME: strelka_ui
DATABASE_PASSWORD: postgres
DATABASE_USERNAME: postgres
# MinIO Configuration for local development
ENABLE_FILE_RESUBMISSION: "true"
S3_BUCKET_NAME: strelka-files
S3_REGION: us-east-1
S3_ACCESS_KEY_ID: strelkaminioadmin
S3_SECRET_ACCESS_KEY: strelkaminioadmin
S3_ENDPOINT_URL: http://minio:9000
S3_FILE_RETENTION_DAYS: 7
# Disable AWS checksums for MinIO compatibility
AWS_REQUEST_CHECKSUM_CALCULATION: when_required
AWS_RESPONSE_CHECKSUM_VALIDATION: when_required
env_file:
# Add/override environment variables in this file
# See ./app/strelka_ui/.env.example for reference
- path: ./app/strelka_ui/.env
required: false
volumes:
- ./certs:/certs
postgresdb:
image: hub.docker.target.com/bitnami/postgresql:17
container_name: strelka-ui-postgresdb
environment:
POSTGRESQL_DATABASE: strelka_ui
POSTGRESQL_PASSWORD: postgres
POSTGRESQL_USERNAME: postgres
ports:
- "5432:5432"
volumes:
- data17:/bitnami/postgresql
minio:
image: minio/minio:latest
container_name: strelka-ui-minio
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: strelkaminioadmin
MINIO_ROOT_PASSWORD: strelkaminioadmin
ports:
- "9001:9001" # MinIO Console
- "9000:9000" # MinIO API
volumes:
- minio_data:/data
minio-init:
image: minio/mc:latest
container_name: strelka-ui-minio-init
entrypoint: >
/bin/sh -c "
mc alias set myminio http://minio:9000 strelkaminioadmin strelkaminioadmin;
mc mb myminio/strelka-files --ignore-existing;
exit 0;
"
volumes:
data17:
minio_data: