-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (46 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
51 lines (46 loc) · 1.15 KB
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
version: '3.4'
services:
jarless:
image: jarless
build:
context: .
dockerfile: ./Dockerfile
ports:
- 5000:5000
environment:
FLASK_APP: jarless.app
DATABASE_URI: postgresql://jarless:jarless@postgres/jarless
depends_on:
- postgres
postgres:
image: postgres:12.5-alpine
ports:
- 5432:5432
expose:
- "5432"
volumes:
- ./postgres_data:/var/lib/postgresql/data
- ./devops/docker/entrypoint-initdb.d:/docker-entrypoint-initdb.d
environment:
POSTGRES_USER: jarless
POSTGRES_PASSWORD: jarless
POSTGRES_DB: jarless
minio:
image: minio/minio:latest
ports:
- 9000:9000
command: server /data
environment:
MINIO_ACCESS_KEY: JKIAIOSFODNN7J@RL33S
MINIO_SECRET_KEY: AJalrXUtnFEMI/K7MDENG/bPxRfiCY3X@RL3SSv2
volumes:
- ./minio_files:/data
# pgadmin:
# image: dpage/pgadmin4:latest
# environment:
# PGADMIN_DEFAULT_EMAIL: jarless@example.com
# PGADMIN_DEFAULT_PASSWORD: jarless
# ports:
# - "16543:80"
# depends_on:
# - postgres