-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
306 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM python:latest | ||
|
||
WORKDIR /ciscapps/ | ||
|
||
ARG fullHostname | ||
ARG hostname | ||
ARG alphavantageKey | ||
ARG serverPort | ||
|
||
COPY requirements.txt requirements.txt | ||
RUN pip3 install -r requirements.txt | ||
|
||
COPY . . | ||
|
||
CMD python3 api.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
version: "3" | ||
|
||
version: '3' | ||
services: | ||
api: | ||
build: . | ||
ports: | ||
- "80:80" | ||
ciscapps: | ||
image: sthivaios/ciscapps:latest | ||
environment: | ||
- stocks_api_key="YOUR_ALPHAVANTAGE_API_KEY_HERE" | ||
- api_hostname="YOUR_IP_OR_DOMAIN_THAT_THE_API_IS_HOSTED_ON" | ||
# the variable above can either be an IP or a domain. it CANNOT be changed later. Keep in mind that the backend listens on port 80. | ||
fullHostname: "" # full hostname with http/https here. eg. : https://ciscapps.com or http://192.168.1.150 | ||
hostname: "" # the ip or domain of the server | ||
alphavantageKey: "XXXXXXXXXX" # your AlphaVantage API key | ||
serverPort: "80" | ||
ports: | ||
- 80:80 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.