mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
add context to docker compose and service
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"initializeCommand": "apt-get update -y && apt-get install docker-compose -y && apt-get install docker-compose-plugin -y",
|
||||
"service": "web",
|
||||
"dockerComposeFile": "../docker-compose.yaml",
|
||||
"forwardPorts": [3000]
|
||||
}
|
||||
@@ -87,6 +87,7 @@ services:
|
||||
backend:
|
||||
build:
|
||||
dockerfile: docker/Dockerfile.backend
|
||||
context: .
|
||||
image: oasst-backend
|
||||
environment:
|
||||
- POSTGRES_HOST=db
|
||||
@@ -103,6 +104,7 @@ services:
|
||||
web:
|
||||
build:
|
||||
dockerfile: docker/Dockerfile.website
|
||||
context: .
|
||||
image: oasst-web
|
||||
environment:
|
||||
- DATABASE_URL=postgres://postgres:postgres@webdb/oasst_web
|
||||
|
||||
Reference in New Issue
Block a user