compose to use dockerhub images
This commit is contained in:
parent
42fe10a75b
commit
4fb6106ca0
1 changed files with 8 additions and 6 deletions
|
|
@ -24,9 +24,10 @@ services:
|
|||
- "5601:5601"
|
||||
|
||||
gendb-backend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.backend
|
||||
image: phact/gendb-backend:latest
|
||||
#build:
|
||||
#context: .
|
||||
#dockerfile: Dockerfile.backend
|
||||
container_name: gendb-backend
|
||||
depends_on:
|
||||
- opensearch
|
||||
|
|
@ -53,9 +54,10 @@ services:
|
|||
platform: linux/amd64
|
||||
|
||||
gendb-frontend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.frontend
|
||||
image: phact/gendb-frontend:latest
|
||||
#build:
|
||||
#context: .
|
||||
#dockerfile: Dockerfile.frontend
|
||||
container_name: gendb-frontend
|
||||
depends_on:
|
||||
- gendb-backend
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue