-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
40 lines (40 loc) · 1.02 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
---
version: '3.7'
services:
db:
image: postgres:11.6
db_migrate:
image: easi-db-migrate:latest
environment:
- FLYWAY_USER=postgres
- FLYWAY_PASSWORD=
- FLYWAY_URL=jdbc:postgresql://db/postgres
depends_on:
- db
minio:
restart: always
image: minio/minio:latest
ports:
- '9000:9000'
entrypoint: minio server /data
minio_mc:
image: minio/mc:latest
depends_on:
- minio
entrypoint: >
/bin/sh -c "
/usr/bin/mc config host rm local;
/usr/bin/mc config host add --quiet --api s3v4 local http://minio:9000 minioadmin minioadmin;
/usr/bin/mc rb --force local/easi-app-file-uploads/;
/usr/bin/mc mb --quiet local/easi-app-file-uploads/;
/usr/bin/mc policy set public local/easi-app-file-uploads;
"
lambda:
image: lambci/lambda:go1.x
ports:
- 9001:9001
environment:
- DOCKER_LAMBDA_STAY_OPEN=1
- LICENSE_KEY=
volumes:
- ./../easi-infra-modules/lambda/prince/build:/var/task:ro,delegated