-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (47 loc) · 884 Bytes
/
docker-compose.yml
File metadata and controls
49 lines (47 loc) · 884 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
46
47
48
49
version: '3.9'
services:
db:
image: postgres:13.2
container_name: db
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: b8gt5k98c
POSTGRES_DB: postgres
# Only enable for debug purposes!
ports:
- "5432:5432"
expose:
- "5432"
api:
build:
context: server
dockerfile: Dockerfile
container_name: web
volumes:
- ./server/assets:/app/assets:rw
ports:
- "3000:3000"
env_file:
- ./server/.env
depends_on:
- db
front:
build:
context: app
dockerfile: Dockerfile
container_name: front
ports:
- "5173:5173"
depends_on:
- api
relay:
build:
context: relay
dockerfile: Dockerfile
container_name: relay
ports:
- "9001:9001"
networks:
default:
name: selfdev-tv-network