Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

all-dev environment #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,10 @@ services:
sh -c "mc config host rm local
mc config host add local http://localhost:9999 admin password
mc policy set download local/seanmcapp"

mock-server:
image: wiremock/wiremock
ports:
- "8080:8080"
volumes:
- ./docker/wiremock:/home/wiremock
13 changes: 13 additions & 0 deletions docker/wiremock/mappings/hello.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"request": {
"method": "GET",
"url": "/hello"
},
"response": {
"status": 200,
"body": "Hello world!",
"headers": {
"Content-Type": "text/plain"
}
}
}
28 changes: 28 additions & 0 deletions src/main/resources/application-local.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,32 @@ aws {
secret = "password"
host = "http://localhost:9999"
bucket = "seanmcapp"
}

telegram {
bot-1 {
bot-endpoint = "http://localhost:8080/telegram-bot-1"
bot-name = "bot-1"
}

bot-2 {
bot-endpoint = "http://localhost:8080/telegram-bot-2"
bot-name = "bot-2"
}
}

airvisual {
endpoint = "http://localhost:8080/air-visual"
api-key = "some-api-key"
}

instagram {
endpoint = "http://localhost:8080/instagram"
username = "username"
password = "password"
}

hadith {
endpoint = "http://localhost:8080/hadith"
api-key = "some-api-key"
}
Loading