-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (45 loc) · 985 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (45 loc) · 985 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
42
43
44
45
services:
frontend:
container_name: tubo-frontend
build:
context: .
dockerfile: ./docker/frontend/Dockerfile
ports:
- 8080:8080
depends_on:
- backend
environment:
- BACKEND_URL=http://localhost:3000
restart: unless-stopped
backend:
container_name: tubo-backend
build:
context: .
dockerfile: ./docker/backend/Dockerfile
ports:
- 3000:3000
depends_on:
- db
environment:
- DB_HOST=db
- DB_NAME=tubo
- DB_USER=tubo
- DB_PASSWORD=tubo
restart: unless-stopped
db:
container_name: tubo-db
image: postgres:16-alpine
volumes:
- ./data/db:/var/lib/postgresql/data
environment:
- POSTGRES_DB=tubo
- POSTGRES_USER=tubo
- POSTGRES_PASSWORD=tubo
bg-helper:
container_name: tubo-bg-helper
build:
context: .
dockerfile: ./docker/bg-helper/Dockerfile
ports:
- 3005:3005
restart: unless-stopped