Commit 69b2b9bd authored by Ai-Sasit's avatar Ai-Sasit

edit https

parent 05050645
...@@ -8,4 +8,7 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt ...@@ -8,4 +8,7 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY ./server /code/server COPY ./server /code/server
CMD ["uvicorn", "server.core:app","--proxy-headers", "--host", "0.0.0.0", "--port", "80"] COPY easykey.pem /code
COPY easycert.pem /code
CMD ["uvicorn", "server.core:app", "--host", "0.0.0.0", "--port", "8000", "--ssl-keyfile", "./easykey.pem", "--ssl-certfile", "./easycert.pem"]
...@@ -5,7 +5,7 @@ services: ...@@ -5,7 +5,7 @@ services:
container_name: easybistro-api container_name: easybistro-api
build: . build: .
ports: ports:
- "80:80" - "8000:8000"
depends_on: depends_on:
- mongodb - mongodb
......
-----BEGIN CERTIFICATE-----
MIIEZjCCAs6gAwIBAgIQE2k9opXVUyjXp3BLhubJFjANBgkqhkiG9w0BAQsFADCB
kTEeMBwGA1UEChMVbWtjZXJ0IGRldmVsb3BtZW50IENBMTMwMQYDVQQLDCpBSS1T
QVNJVFxzYXNpdEBBaS1TYXNpdCAoU2FzaXQgV2lyYXRqaW5kYSkxOjA4BgNVBAMM
MW1rY2VydCBBSS1TQVNJVFxzYXNpdEBBaS1TYXNpdCAoU2FzaXQgV2lyYXRqaW5k
YSkwHhcNMjIxMTI1MDkyNDMyWhcNMjUwMjI1MDkyNDMyWjBeMScwJQYDVQQKEx5t
a2NlcnQgZGV2ZWxvcG1lbnQgY2VydGlmaWNhdGUxMzAxBgNVBAsMKkFJLVNBU0lU
XHNhc2l0QEFpLVNhc2l0IChTYXNpdCBXaXJhdGppbmRhKTCCASIwDQYJKoZIhvcN
AQEBBQADggEPADCCAQoCggEBAOwznJ/Z/xCA7HCOqyxnP4fvbWIQKSNLUnDyPrfj
G0Vo3yg/zlT75Nt45i12t59WZzbFjmSk2twSIM3g9xdArYHdHGoIwEJnXgWQGksA
z5E+FwoOVzomQF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xmJ0sf6QAA2mDJbIXbH+Ex/7cKsb+PRYkw2Ec/WOj8A1XAMRjaKn8egFcZ6
0PcpZZdu5+3xnPXBkwZSG/N8J1H2/3e9WOcaOuni7fVWXc0ZFMlLiwF+1yECgYBQ
OdUh4Pcywg/BLZDyh4c6px6tRDmzALKnvACKaiyMRBv8wKpJNC8vxNUrja5P/NfZ
MkPQJ8oX9nRBR/WzFHuZwj3o7gLIf4A9AFDd+DttqlDRCdblgL5nyyu0+NdcAw+1
+/Q19q+ymSziZkbX9Dh0pDC3RrzUWB4ldHb+ciEVzQKBgQDZ0XMaRfoW0ZFaKLUa
cZVnI2cgoIchPsgewUq+mCnXOWdrJYF11PbvPgc0cdAxigY/JXjtyegEAu65XrxN
I3fHZXEhex5ttwVeu7CIbiJh3TMQBfl7MZAfX5YyhWcPxrdwciGBTRS9Zt18QgBr
dUlpIg5XoJPBNjYoOHwresSjTA==
-----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