Repository navigation
Expand file tree
/
Copy pathcompose.yaml
More file actions
79 lines (79 loc) · 2.23 KB
/
Copy pathcompose.yaml
File metadata and controls
79 lines (79 loc) · 2.23 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
services:
mailpit:
image: axllent/mailpit:v1.34.0@sha256:23a2ef85bc50853ab3093645d1d64679afd8887e89da5e48a88940c172591a4e
profiles: [local-mail]
environment:
MP_ENABLE_CHAOS: "true"
ports:
- target: 1025
host_ip: 127.0.0.1
- target: 8025
host_ip: 127.0.0.1
healthcheck:
test: ["CMD", "/mailpit", "readyz"]
interval: 1s
timeout: 2s
retries: 30
storage-permissions:
image: rustfs/rustfs:1.0.0-alpha.90
profiles: [fixture-storage]
user: "0:0"
entrypoint: ["/bin/sh", "-c", "chown 10001:10001 /data /logs"]
volumes:
- scanner-data:/data
- scanner-logs:/logs
rustfs:
image: rustfs/rustfs:1.0.0-alpha.90
profiles: [fixture-storage]
depends_on:
storage-permissions:
condition: service_completed_successfully
environment:
RUSTFS_ACCESS_KEY: storage-smoke-access
RUSTFS_SECRET_KEY: storage-smoke-secret
RUSTFS_VOLUMES: /data
RUSTFS_ADDRESS: 0.0.0.0:9000
RUSTFS_CONSOLE_ENABLE: "false"
RUSTFS_OBS_LOG_DIRECTORY: /logs
ports:
- target: 9000
host_ip: 127.0.0.1
volumes:
- scanner-data:/data
- scanner-logs:/logs
healthcheck:
test: ["CMD", "curl", "--fail", "--silent", "http://127.0.0.1:9000/health"]
interval: 2s
timeout: 2s
retries: 30
postgres:
image: ${MEDTRACKER_POSTGRES_IMAGE:-postgres:19-alpine}
environment:
POSTGRES_USER: medtracker
POSTGRES_PASSWORD: medtracker_password
POSTGRES_DB: medtracker_loco
ports:
- target: 5432
host_ip: 127.0.0.1
healthcheck:
test: ["CMD-SHELL", "pg_isready -h 127.0.0.1 -U medtracker -d medtracker_loco"]
interval: 2s
timeout: 2s
retries: 30
victoriatraces:
image: victoriametrics/victoria-traces:v0.13.0@sha256:3018df8f99429d7d3029167ab9f70848bf0a778c31c49dff16c86c7e34759fbd
profiles: [telemetry]
ports:
- target: 10428
host_ip: 127.0.0.1
- target: 10429
host_ip: 127.0.0.1
command:
- -storageDataPath=/victoria-traces-data
- -retentionPeriod=7d
volumes:
- victoria-traces-data:/victoria-traces-data
volumes:
victoria-traces-data:
scanner-data:
scanner-logs: