-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose-stage.yml
More file actions
82 lines (78 loc) · 2.22 KB
/
compose-stage.yml
File metadata and controls
82 lines (78 loc) · 2.22 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
81
82
services:
# -------------------------------------------------------------------
# Alice Application Service: Remittance Gateway
# -------------------------------------------------------------------
alice:
build:
context: .
dockerfile: Dockerfile
args:
PORT: ${PORT:-4000}
TZ: Africa/Nairobi
container_name: alice
environment:
- PORT=${PORT:-4000}
- TZ=Africa/Nairobi
ports:
- "127.0.0.1:${PORT:-4000}:${PORT:-4000}"
env_file:
- .env
logging:
driver: json-file
options:
max-size: "10m"
max-file: "30"
restart: unless-stopped
networks:
- alice-network
# -------------------------------------------------------------------
# Object Storage: MinIO (S3 Compatible)
# -------------------------------------------------------------------
minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z-cpuv1
container_name: minio
ports:
- "9000:9000" # S3 API
- "9001:9001" # Console UI 🖥️
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-admin}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
TZ: Africa/Nairobi
volumes:
- minio_data:/data
command: server /data --console-address ":9001"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 5s
timeout: 5s
retries: 5
networks:
- alice-network
# -------------------------------------------------------------------
# API Mocking Service: WireMock
# -------------------------------------------------------------------
wiremock:
image: wiremock/wiremock:3.13.1-1-alpine
container_name: wiremock
environment:
TZ: Africa/Nairobi
JAVA_TOOL_OPTIONS: -Duser.timezone=Africa/Nairobi
volumes:
- ./.devops/wiremock:/home/wiremock
ports:
- "127.0.0.1:8080:8080"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/__admin/health"]
interval: 5s
timeout: 5s
retries: 3
command:
- --verbose
- --global-response-templating
networks:
- alice-network
networks:
alice-network:
driver: bridge
volumes:
minio_data: