Skip to content

Commit

Permalink
- Env variables added.
Browse files Browse the repository at this point in the history
issue #25
  • Loading branch information
albamig committed Feb 10, 2022
1 parent 3397969 commit f58ac19
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions project/deploy/docker-compose/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ def build_docker_compose(path: Path) -> str:

data = dict()
data["version"] = "3.9"
data["x-microservice-environment"] = []
data["x-microservice-depends-on"] = []
data["x-microservice-environment"] = {
"MINOS_BROKER_QUEUE_HOST": "postgres",
"MINOS_BROKER_HOST": "kafka",
"MINOS_REPOSITORY_HOST": "postgres",
"MINOS_SNAPSHOT_HOST": "postgres",
"MINOS_DISCOVERY_HOST": "discovery"
}
data["x-microservice-depends-on"] = ["postgres", "kafka", "discovery"]
data["volumes"] = {}
data["services"] = {}

Expand Down

0 comments on commit f58ac19

Please sign in to comment.