Skip to content

Commit 0e5e694

Browse files
authored
Fix docker compose file (#77)
1 parent 1e81f18 commit 0e5e694

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed
Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,38 @@
11
services:
2+
dicedbadmin:
3+
image: dicedb/dicedb:latest
4+
ports:
5+
- '7379:7379'
6+
27
dicedb:
38
image: dicedb/dicedb:latest
49
ports:
5-
- "7379:7379"
10+
- '7380:7379'
611

712
backend:
813
build:
914
context: .
10-
dockerfile: PlaygroundMonoDockerfile
15+
dockerfile: PlaygroundMonoDockerfile
1116
ports:
12-
- "8080:8080"
17+
- '8080:8080'
1318
depends_on:
19+
- dicedbadmin
1420
- dicedb
1521
environment:
22+
- DICEDB_ADMIN_ADDR=dicedbadmin:7379
23+
- DICEDB_ADMIN_USERNAME=${DICEDB_ADMIN_USERNAME}
24+
- DICEDB_ADMIN_PASSWORD=${DICEDB_ADMIN_PASSWORD}
1625
- DICEDB_ADDR=dicedb:7379
26+
- DICEDB_USERNAME=${DICEDB_USERNAME}
27+
- DICEDB_PASSWORD=${DICEDB_PASSWORD}
1728

1829
frontend:
1930
build:
2031
context: ../../
21-
dockerfile: ./apps/playground-web/Dockerfile # Specify the correct Dockerfile for the frontend
32+
dockerfile: ./apps/playground-web/Dockerfile # Specify the correct Dockerfile for the frontend
2233
ports:
23-
- "3000:3000"
34+
- '3000:3000'
2435
depends_on:
36+
- dicedbadmin
2537
- dicedb
2638
- backend

0 commit comments

Comments
 (0)