-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yml
58 lines (52 loc) · 1.52 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
# Utilitarian compose file to locally run required external services
# required by the builder-server. Just by running `docker-compose up`
# you will have a postgres and an s3 compatible local object storage
# ready to be used.
version: "3.4"
services:
postgres:
image: postgres
environment:
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=password
- POSTGRES_DB=builder-server
ports:
- 5432:5432
volumes:
- postgres_data:/var/lib/postgresql/data
# Simple UI that allows read and write operations on the database.
# Accesible via http://localhost:8080.
# https://www.adminer.org/
adminer:
image: adminer
environment:
- ADMINER_DEFAULT_SERVER=postgres
ports:
- 8080:8080
# Object storage compatible with aws-sdk.
# Comes with a UI that can be accessed via http://localhost:9001.
# https://min.io/
minio:
image: minio/minio
environment:
- MINIO_ROOT_USER=admin
- MINIO_ROOT_PASSWORD=password
ports:
- 9000:9000
- 9001:9001
volumes:
- minio_data:/data
command: server /data --console-address ":9001"
# Companion for the minio service in charge of initialization and
# provides an mc client for operating directly with the storage
# https://docs.min.io/minio/baremetal/reference/minio-cli/minio-mc.html
minio-mc:
image: minio/mc
depends_on:
- minio
volumes:
- ./minio-mc-entrypoint.sh:/scripts/entrypoint.sh
entrypoint: /scripts/entrypoint.sh
volumes:
postgres_data:
minio_data: