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

fix

parent 88a4f5f0
...@@ -11,4 +11,4 @@ COPY ./server /code/server ...@@ -11,4 +11,4 @@ COPY ./server /code/server
COPY easykey.pem /code COPY easykey.pem /code
COPY easycert.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: ...@@ -5,7 +5,7 @@ services:
container_name: easybistro-api container_name: easybistro-api
build: . build: .
ports: ports:
- "8000:8000" - "5000:80"
depends_on: depends_on:
- mongodb - mongodb
......
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
MIIEZjCCAs6gAwIBAgIQE2k9opXVUyjXp3BLhubJFjANBgkqhkiG9w0BAQsFADCB MIIE1jCCAz6gAwIBAgIQMbHFySO9BsjFZLHaBFTITDANBgkqhkiG9w0BAQsFADCB
kTEeMBwGA1UEChMVbWtjZXJ0IGRldmVsb3BtZW50IENBMTMwMQYDVQQLDCpBSS1T kTEeMBwGA1UEChMVbWtjZXJ0IGRldmVsb3BtZW50IENBMTMwMQYDVQQLDCpBSS1T
QVNJVFxzYXNpdEBBaS1TYXNpdCAoU2FzaXQgV2lyYXRqaW5kYSkxOjA4BgNVBAMM QVNJVFxzYXNpdEBBaS1TYXNpdCAoU2FzaXQgV2lyYXRqaW5kYSkxOjA4BgNVBAMM
MW1rY2VydCBBSS1TQVNJVFxzYXNpdEBBaS1TYXNpdCAoU2FzaXQgV2lyYXRqaW5k MW1rY2VydCBBSS1TQVNJVFxzYXNpdEBBaS1TYXNpdCAoU2FzaXQgV2lyYXRqaW5k
YSkwHhcNMjIxMTI1MDkyNDMyWhcNMjUwMjI1MDkyNDMyWjBeMScwJQYDVQQKEx5t YSkwHhcNMjIxMTI1MDk1NzUxWhcNMjUwMjI1MDk1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N3VDYrRla3uekcPvvI L9v+yXtKAvsoWf8d8KVnswMzJ0UL0F/vhsMzk5FMJBESiqagOXUGTmABEH/lXG5x
f01iliL6ftAmwQQSVM2sVkrAfsQyM0DCmUQ3ydHgil3W9f9GDurxsY9cbeHqcOFQ XUQKyYHpT0387DQMRrEFlxlKqzfoXSyyD3xzUsdCfYNtefuSpLTEztPdgKytm+Lw
FY6QYvsBqYDUt8Db/Km+BC6qukYET2coLTk= g+F50tpB2/NWRDwmOmw3m+younmgL4PFqW/H0+OStm3i6FzaZ95YLA5NylRDHHhx
4MrbbxBi+6+50gZMxCeTluNNPh6Lm/6UGQAGm7MsUy+UFHkUJtzTnfGXbgNExIdk
9XVXusSPOUBl8A8c/myUrXbaB/vD8v6gn43fe+e4iMT2tVnQaj+Rudue
-----END CERTIFICATE----- -----END CERTIFICATE-----
-----BEGIN PRIVATE KEY----- -----BEGIN PRIVATE KEY-----
MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDsM5yf2f8QgOxw MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCuyu6UfSn1Kw4J
jqssZz+H721iECkjS1Jw8j634xtFaN8oP85U++TbeOYtdrefVmc2xY5kpNrcEiDN /SZSCGMYvNIyRINhPrmLVZXW0hUovHDRWWuELHuU4OhogIrdEGGbACmMscwcilaP
4PcXQK2B3RxqCMBCZ14FkBpLAM+RPhcKDlc6JkBc2/yHSpp/qrqQWeQXFNKDs2M2 7lCTn4izIAGEKFfcd1XCI2xOia1WRxMs20xpINTeQugy0yDSaT83NH3PJ3uyv5vx
3bCSu/2BwcvYxjQRMx2hke68WDx2aU0qtbRZPU4kUjg+unZnEDrWze7GtVP9uOlE Qh4LcqMsLlUrf4ZHFOt8r9epeOBv/6m3eCOJRQ2K19upYsg3EYQo+d4gHUcMR7jS
3L9PfLvaM28oXIgHScosGCnbfuIAfRmyp6mflY6iRKxaODTSTPwt7zIdLdJ/sox1 b/Cli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zFHuZwj3o7gLIf4A9AFDd+DttqlDRCdblgL5nyyu0+NdcAw+1 oQ/G8Rw69WsT02oAVXRimLFPy5rYJ17aPeMr0WHljJOhH8+x3t5bjZKMeJgJgsSc
+/Q19q+ymSziZkbX9Dh0pDC3RrzUWB4ldHb+ciEVzQKBgQDZ0XMaRfoW0ZFaKLUa FIgWZC8M/1ZXEq94rEfT4n9MmVI1RKPpxTnCm13sxwKBgB7BS8virBtvbbP+Z3z5
cZVnI2cgoIchPsgewUq+mCnXOWdrJYF11PbvPgc0cdAxigY/JXjtyegEAu65XrxN y0vgFD5itJC3DlwtmPfbb7l0Fb9gv4AOFUzjXChi6+KSqjvcFR0JckdfFpFtalQw
I3fHZXEhex5ttwVeu7CIbiJh3TMQBfl7MZAfX5YyhWcPxrdwciGBTRS9Zt18QgBr ipumYRXkhKbv1fMW8ag9wETVGU/YrT8pXMD6pnVDWNmLwXq0GSiwnN8rE7RnBd3G
dUlpIg5XoJPBNjYoOHwresSjTA== kSa+lZfLm+w7PzN6iYrl4fZm
-----END PRIVATE KEY----- -----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