-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
59 lines (53 loc) · 1.16 KB
/
docker-compose.yaml
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
version: "3"
volumes:
db_data:
s3_data:
services:
mink:
container_name: 'mink'
build:
context: .
dockerfile: Dockerfile
ports:
- "3000:3000"
environment:
- DATABASE_URL=postgres://mink:password@pg_database:5432/mink
- S3_ENDPOINT=http://s3:9000/
- S3_BUCKET_NAME=mink
- S3_ACCESS_KEY_ID=S3_SECRET
- S3_SECRET_ACCESS_KEY=S3_SECRET
- BRIDGEAPI_CLIENTID=BAPI_SECRET
- BRIDGEAPI_CLIENTSECRET=BAPI_SECRET
depends_on:
- pg_database
- s3
networks:
- mink
pg_database:
container_name: 'postgres'
image: postgres:latest
volumes:
- db_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: 'mink'
POSTGRES_PASSWORD: 'password'
POSTGRES_DB: 'mink'
networks:
- mink
s3:
container_name: 'minio_s3'
image: minio/minio:latest
ports:
- "9000:9000"
- "9001:9001"
volumes:
- s3_data:/data
environment:
MINIO_ROOT_USER: 'mink'
MINIO_ROOT_PASSWORD: 'password'
command: server /data --console-address ":9001"
networks:
- mink
networks:
mink:
driver: bridge