-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.devel.yaml
48 lines (48 loc) · 1.1 KB
/
docker-compose.devel.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
version: '3.1'
services:
postgres:
hostname: postgres
image: artifactory.algol60.net/docker.io/library/postgres:11-alpine
environment:
- POSTGRES_USER=slsuser
- POSTGRES_DB=sls
- POSTGRES_HOST_AUTH_METHOD=trust
ports:
- "5432:5432"
sls-init:
build: .
command: ["sls-init"]
environment:
- POSTGRES_HOST=postgres
- DBOPTS=sslmode=disable
- DBUSER=slsuser
depends_on:
- postgres
s3:
image: artifactory.algol60.net/docker.io/minio/minio:latest
hostname: s3
environment:
MINIO_ACCESS_KEY: s3-access-key
MINIO_SECRET_KEY: s3-secret-key
command: server /data
ports:
- "9000:9000"
s3-init:
image: artifactory.algol60.net/docker.io/minio/mc:latest
hostname: s3-init
environment:
- MC_HOST_S3=http://s3-access-key:s3-secret-key@s3:9000
command: mb S3/sls
depends_on:
- s3
sls:
build: .
environment:
- POSTGRES_HOST=postgres
- DBOPTS=sslmode=disable
- DBUSER=slsuser
ports:
- "8376:8376"
depends_on:
- postgres
- sls-init