forked from JimmyLv/BibiGPT-v1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
31 lines (28 loc) · 875 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
# Hi, this is a Docker service startup configuration.
# Please make sure to configure the .env file in this project's root directory before proceeding.
# you can directly execute the following command to start the service.
# $ docker compose up -d
# Choose one of the following two services below.
# If you do not need a particular service, please try to comment it out.
version: '3.9'
services:
# Service 1> Production environment image
bibigpt:
build:
context: ./
dockerfile: Dockerfile
args:
# If you want to use sentry, please set IS_USED_SENTRY=1
IS_USED_SENTRY: 0
container_name: bibigpt
ports:
- 3000:3000
# Service 2> Development environment image
bibigpt-dev:
build:
context: ./
dockerfile: dev.Dockerfile
container_name: bibigpt-dev
ports:
- 3002:3000
env_file: .env