-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-dev.yml
41 lines (35 loc) · 951 Bytes
/
docker-compose-dev.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
version: '3.8'
services:
rainfall-db-dev:
image: mariadb:latest
container_name: rainfall-mariadb
environment:
MYSQL_ROOT_PASSWORD: rainfall-dev-db
MYSQL_DATABASE: rainfall_dev
ports:
- "6555:3306"
minio:
image: minio/minio
ports:
- "9000:9000"
- "9001:9001"
volumes:
- rainfall-minio-volume:/data
environment:
MINIO_ROOT_USER: rainfall
MINIO_ROOT_PASSWORD: rainfall-minio
command: server --console-address :9001 /data
redis:
image: redis:latest
ports:
- "6379:6379"
# Used for formatting the volume as ext4. Otherwise, some minio operations may fail.
# Uncomment to format (with docker compose up) and comment afterwards so the volume
# is not formatted again.
# formatter:
# image: busybox
# command: ["/bin/sh", "-c", "mkfs.ext4 /data"]
# volumes:
# - rainfall-minio-volume:/data
volumes:
rainfall-minio-volume: