Commit 40f3c3aa authored by Ai-Sasit's avatar Ai-Sasit

fix

parent 88a4f5f0
......@@ -11,4 +11,4 @@ COPY ./server /code/server
COPY easykey.pem /code
COPY easycert.pem /code
CMD ["uvicorn", "server.core:app", "--host", "0.0.0.0", "--port", "8000"]
CMD ["uvicorn", "server.core:app", "--host", "0.0.0.0", "--port", "5000", "--ssl-keyfile", "./easykey.pem", "--ssl-certfile", "./easycert.pem"]
......@@ -5,7 +5,7 @@ services:
container_name: easybistro-api
build: .
ports:
- "8000:8000"
- "5000:80"
depends_on:
- mongodb
......
-----BEGIN CERTIFICATE-----
MIIEZjCCAs6gAwIBAgIQE2k9opXVUyjXp3BLhubJFjANBgkqhkiG9w0BAQsFADCB
MIIE1jCCAz6gAwIBAgIQMbHFySO9BsjFZLHaBFTITDANBgkqhkiG9w0BAQsFADCB
kTEeMBwGA1UEChMVbWtjZXJ0IGRldmVsb3BtZW50IENBMTMwMQYDVQQLDCpBSS1T
QVNJVFxzYXNpdEBBaS1TYXNpdCAoU2FzaXQgV2lyYXRqaW5kYSkxOjA4BgNVBAMM
MW1rY2VydCBBSS1TQVNJVFxzYXNpdEBBaS1TYXNpdCAoU2FzaXQgV2lyYXRqaW5k
YSkwHhcNMjIxMTI1MDkyNDMyWhcNMjUwMjI1MDkyNDMyWjBeMScwJQYDVQQKEx5t
YSkwHhcNMjIxMTI1MDk1NzUxWhcNMjUwMjI1MDk1NzUxWjBeMScwJQYDVQQKEx5t
a2NlcnQgZGV2ZWxvcG1lbnQgY2VydGlmaWNhdGUxMzAxBgNVBAsMKkFJLVNBU0lU
XHNhc2l0QEFpLVNhc2l0IChTYXNpdCBXaXJhdGppbmRhKTCCASIwDQYJKoZIhvcN
AQEBBQADggEPADCCAQoCggEBAOwznJ/Z/xCA7HCOqyxnP4fvbWIQKSNLUnDyPrfj
G0Vo3yg/zlT75Nt45i12t59WZzbFjmSk2twSIM3g9xdArYHdHGoIwEJnXgWQGksA
z5E+FwoOVzomQFzb/IdKmn+qup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i6+KSqjvcFR0JckdfFpFtalQw
ipumYRXkhKbv1fMW8ag9wETVGU/YrT8pXMD6pnVDWNmLwXq0GSiwnN8rE7RnBd3G
kSa+lZfLm+w7PzN6iYrl4fZm
-----END PRIVATE KEY-----
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment