-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
49 lines (49 loc) · 1.22 KB
/
docker-compose.yaml
File metadata and controls
49 lines (49 loc) · 1.22 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
name: repository-deployment
services:
postgres:
image: postgres:16.3-alpine
environment:
POSTGRES_DB: repository
POSTGRES_USER: repository
POSTGRES_PASSWORD: 12345
PGDATA: /var/lib/postgresql/data/pgdata
ports:
- "5432:5432"
volumes:
- postgres:/var/lib/postgresql/data
elastic:
image: elasticsearch:8.13.4
environment:
discovery.type: "single-node"
xpack.security.enabled: false
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
ports:
- "9200:9200"
volumes:
- elastic:/usr/share/elasticsearch/data
minio:
image: quay.io/minio/minio
command: ["server", "/data", "--console-address", ":9001"]
environment:
MINIO_ROOT_USER: "repository"
MINIO_ROOT_PASSWORD: "12345678"
ports:
- "9000:9000"
- "9001:9001"
volumes:
- minio:/data
repository:
image: bethibande/repository:latest
restart: unless-stopped
ports:
- "8080:8080"
environment:
DATABASE_URL: jdbc:postgresql://postgres:5432/repository
DATABASE_USERNAME: repository
DATABASE_PASSWORD: 12345
SEARCH_HOSTS: elastic:9200
EXTERNAL_HOST: http://localhost:8080
volumes:
postgres: {}
elastic: {}
minio: {}