-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 917 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (38 loc) · 917 Bytes
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
version: "3.9"
services:
server:
build:
context: server/.
dockerfile: Dockerfile
working_dir: /opt/project
volumes:
- .:/opt/project
ports:
- 3000:3000
depends_on:
- redis-db
redis-db:
image: redis:alpine
command: redis-server --requirepass pass
ports:
- 6379:6379
container_name: redis-db
frontend:
environment:
- VITE_API_ENDPOINT=http://localhost:3000/v1
build:
context: client/.
dockerfile: Dockerfile
ports:
- "8080:80"
prometheus:
image: prom/prometheus
volumes:
- ./prometheus/:/etc/prometheus/
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/usr/share/prometheus/console_libraries'
- '--web.console.templates=/usr/share/prometheus/consoles'
ports:
- 9090:9090