Skip to content

Commit

Permalink
chore: docker compose for server
Browse files Browse the repository at this point in the history
  • Loading branch information
vinitparekh17 committed Oct 17, 2024
1 parent 998cdbd commit 0076351
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
services:
dicedb:
image: dicedb/dicedb:latest
ports:
- "7379"
networks:
- dice-network

backend:
build:
context: .
ports:
- "8080:8080"
depends_on:
- dicedb
environment:
- DICE_ADDR=dicedb:7379
- DICE_USERNAME=${DICE_USERNAME}
- DICE_PASSWORD=${DICE_PASSWORD}
networks:
- dice-network

networks:
dice-network:
driver: bridge

0 comments on commit 0076351

Please sign in to comment.