-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (44 loc) · 924 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (44 loc) · 924 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
version: "3.0"
services:
mongoserver:
image: mongo
container_name: mongodb-server
environment:
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=admin
ports:
- "27018:27017"
volumes:
- ~/mongo/data:/data/db
networks:
- tlive-network
backendapi:
image: talk-live-backend
build:
context: "./backend-v2"
dockerfile: Dockerfile
container_name: TL-server
env_file: ./backend-v2/.env
ports:
- "3000:3000"
- "3001:3001"
depends_on:
- mongoserver
networks:
- tlive-network
frontend:
image: talk-live-client
build:
context: "./client-v2"
dockerfile: Dockerfile
container_name: TL-client
env_file: "./client-v2/.env"
ports:
- "5173:5173"
depends_on:
- backendapi
networks:
- tlive-network
networks:
tlive-network:
driver: bridge