-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (34 loc) · 948 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
version: '3.8'
# Build the multiservice architecture of my ChatpGPT App
services:
# Start setting up the local instance Backend Server
edchatgpt-backend:
# Build the image based of Dockerfile
build:
dockerfile: Dockerfile
context: "./backend"
container_name: backend-container
ports:
- 2000:2000
#networks:
# - chatGPT_net
edchatgpt-frontend:
# stdin_open: true
#Build an image from the files in the project frontend directory (Dockerfile)
build:
dockerfile: Dockerfile
context: "./client"
container_name: frontend-container
depends_on:
- edchatgpt-backend
restart: always
ports:
- "8000:8000"
- "9000:5173"
#links: ['edchatgpt-backend:edchatgpt-backend']
#networks:
#- chatGPT_net
#environment:
# PROXY_API: http://edchatgpt-backend:2000/
#networks:
#chatGPT_net: