Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mpog-helper-openai
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anes_AI
mpog-helper-openai
Commits
5b64bca3
Commit
5b64bca3
authored
2 years ago
by
Ryan Melvin
Browse files
Options
Downloads
Patches
Plain Diff
explicit dns
parent
e38408d3
No related branches found
No related tags found
1 merge request
!3
Feature/azure2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app.py
+0
-3
0 additions, 3 deletions
app.py
docker-compose.yml
+2
-0
2 additions, 0 deletions
docker-compose.yml
with
2 additions
and
3 deletions
app.py
+
0
−
3
View file @
5b64bca3
...
...
@@ -34,9 +34,6 @@ DB_USER = manage_sensitive("db_user")
DB_PASSWORD
=
manage_sensitive
(
"
db_password
"
)
OPENAI_API_KEY
=
manage_sensitive
(
"
openai_api_key
"
)
# openai
os
.
environ
[
"
OPENAI_API_KEY
"
]
=
OPENAI_API_KEY
# db connection
def
get_db_connection
():
conn_str
=
(
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
2
−
0
View file @
5b64bca3
...
...
@@ -15,6 +15,8 @@ services:
-
db_user
-
db_password
-
openai_api_key
dns
:
-
172.29.160.1
secrets
:
db_server
:
file
:
secrets/db_server.txt
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment