Skip to content

Commit

Permalink
Fix docker compose file (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucifercr07 authored Oct 26, 2024
1 parent 1e81f18 commit 0e5e694
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions apps/playground-web/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,38 @@
services:
dicedbadmin:
image: dicedb/dicedb:latest
ports:
- '7379:7379'

dicedb:
image: dicedb/dicedb:latest
ports:
- "7379:7379"
- '7380:7379'

backend:
build:
context: .
dockerfile: PlaygroundMonoDockerfile
dockerfile: PlaygroundMonoDockerfile
ports:
- "8080:8080"
- '8080:8080'
depends_on:
- dicedbadmin
- dicedb
environment:
- DICEDB_ADMIN_ADDR=dicedbadmin:7379
- DICEDB_ADMIN_USERNAME=${DICEDB_ADMIN_USERNAME}
- DICEDB_ADMIN_PASSWORD=${DICEDB_ADMIN_PASSWORD}
- DICEDB_ADDR=dicedb:7379
- DICEDB_USERNAME=${DICEDB_USERNAME}
- DICEDB_PASSWORD=${DICEDB_PASSWORD}

frontend:
build:
context: ../../
dockerfile: ./apps/playground-web/Dockerfile # Specify the correct Dockerfile for the frontend
dockerfile: ./apps/playground-web/Dockerfile # Specify the correct Dockerfile for the frontend
ports:
- "3000:3000"
- '3000:3000'
depends_on:
- dicedbadmin
- dicedb
- backend

0 comments on commit 0e5e694

Please sign in to comment.