add context to docker compose and service

This commit is contained in:
Andrew Maguire
2023-01-01 23:28:24 +00:00
parent c4b61bf84c
commit 1b081b5641
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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]
}
+2
View File
@@ -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