-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.yml
45 lines (44 loc) · 939 Bytes
/
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
services:
redis:
image: redis:alpine
ports:
- 6379:6379
db:
image: postgis/postgis
ports:
- 5432:5432
volumes:
- data:/var/lib/postgresql/data
environment:
POSTGRES_USER: beep
POSTGRES_PASSWORD: beep
TZ: America/New_York
s3:
image: minio/minio
ports:
- "9000:9000"
healthcheck:
test: mc ready local
interval: 2s
timeout: 10s
retries: 5
environment:
MINIO_ACCESS_KEY: beep
MINIO_SECRET_KEY: beepbeepbeep
MINIO_ROOT_USER: beep
MINIO_ROOT_PASSWORD: beepbeepbeep
command: server ./data
bucket:
image: minio/mc
depends_on:
s3:
condition: service_healthy
entrypoint: >
/bin/sh -c "
/usr/bin/mc alias set beep http://s3:9000 beep beepbeepbeep;
/usr/bin/mc mb beep/beep;
/usr/bin/mc anonymous set public beep/beep;
exit 0;
"
volumes:
data: