-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
37 lines (34 loc) · 917 Bytes
/
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
services:
web:
container_name: "web"
# API service configuration
ports:
- 120:3000 # Map host port 8000 to container port 8000
build:
dockerfile: ./web/dockerfiles/Dockerfile
context: .
api:
container_name: "api"
# Web interface service configuration
ports:
- 140:80 # Map host port 8080 to container port 80
build:
dockerfile: ./api/dockerfiles/Dockerfile
context: .
volumes:
- ./audio_files/mp3:/code/mp3
- ./audio_files/mp4:/code/mp4
- ./audio_files/splices:/code/splices
depends_on:
- db
db:
image: postgres
restart: always
environment:
POSTGRES_USER: postgress_uneduashqiperine_local
POSTGRES_PASSWORD: postgress_uneduashqiperine_local
POSTGRES_DB: postgress_uneduashqiperine_local
volumes:
- ./data:/var/lib/postgresql/data
ports:
- "5432:5432"