Skip to content

Commit

Permalink
Update ExecStart in PROD Uvicorn config
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliamoran committed Oct 25, 2021
1 parent 90b3b48 commit a06cd8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/uvicorn-prod.service
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ WorkingDirectory=/opt/maia-dashboard-prod/backend
Environment="DASHBOARD_DB=prod_dashboard"
Environment="ANALYSIS_DB=prod_analysis"
Environment="MONGODB_URL=mongodb://localhost:27017"
ExecStart=export ANALYSIS_DB='prod_analysis' && export DASHBOARD_DB='prod_dashboard' && export MONGODB_URL='mongodb://localhost:27017' && /opt/maia-dashboard-prod/env/bin/uvicorn main:app --host 127.0.0.1 --port 8000
ExecStart=/opt/maia-dashboard-prod/env/bin/uvicorn main:app --host 127.0.0.1 --port 8000

[Install]
WantedBy=multi-user.target

0 comments on commit a06cd8c

Please sign in to comment.