Skip to content

Commit

Permalink
Merge pull request #157 from Frnn4268/Frnn
Browse files Browse the repository at this point in the history
Adding new network and Redis image into docker-compose.yaml
  • Loading branch information
Frnn4268 authored Nov 8, 2024
2 parents 68642e1 + 86c2dff commit 1a49ed3
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,30 @@ services:
context: ./backend
ports:
- "3001:3001"
environment:
- REDIS_URL=redis://redis:6379
depends_on:
- redis
networks:
- easypark-network

# Client service
client:
build:
context: ./frontend
ports:
- "80:80"
networks:
- easypark-network

# Redis service
redis:
image: "redis:latest"
ports:
- "6379:6379"
networks:
- easypark-network

networks:
default:
easypark-network:
name: easypark-network

0 comments on commit 1a49ed3

Please sign in to comment.