-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
63 lines (56 loc) · 1.37 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: ssapick-docker-compose
version: '3.7'
services:
database:
image: postgres:16.3-alpine
container_name: ssapick-database
environment:
POSTGRES_USER: ssapick
POSTGRES_PASSWORD: ssapick
POSTGRES_DB: ssapick
TIMEZONE: Asia/Seoul
ports:
- "5432:5432"
volumes:
- ssapick-db:/var/lib/postgresql/data
database-admin:
container_name: database-admin
image: dpage/pgadmin4
ports:
- "5000:80"
environment:
PGADMIN_DEFAULT_EMAIL: "[email protected]"
PGADMIN_DEFAULT_PASSWORD: "ssapick"
restart: always
cache-database:
image: redis:7.4-rc2-alpine
container_name: ssapick-cache-database
ports:
- "6379:6379"
entrypoint: redis-server --requirepass ssapick --maxmemory 128mb
korean_sentence_similarity:
image : ssafysm/ssapick_fast_api:1.3
container_name: ssapick-korean-sentence-similarity
ports:
- "2252:2252"
prometheus:
image: prom/prometheus:latest
container_name: prometheus
ports:
- "9090:9090"
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
grafana:
image: grafana/grafana:latest
container_name: grafana
user: "$UID:$GID"
ports:
- "3000:3000"
volumes:
- ssapick-grafana:/var/lib/grafana
depends_on:
- prometheus
volumes:
ssapick-db:
name: ssapick-db
ssapick-grafana: