Skip to content

Commit

Permalink
Add env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Mtze committed Sep 22, 2023
1 parent 541dd01 commit e8e93b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
RABBITMQ_URL=localhost:5672
RABBITMQ_DEFAULT_USER=admin
RABBITMQ_DEFAULT_PASS=admin
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ services:
- hades
depends_on:
- rabbitmq
environment:
- RABBITMQ_URL=rabbitmq:5672

hadesScheduler:
image: hades-scheduler
Expand All @@ -23,8 +25,11 @@ services:
- hades
depends_on:
- rabbitmq
environment:
- RABBITMQ_URL=rabbitmq:5672

rabbitmq:
container_name: rabbitmq
image: rabbitmq:3-management
ports:
- "15672:15672"
Expand Down

0 comments on commit e8e93b7

Please sign in to comment.