Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
easybistro-api-docker
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sasit Wiratjinda
easybistro-api-docker
Commits
69b2b9bd
Commit
69b2b9bd
authored
Nov 25, 2022
by
Ai-Sasit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit https
parent
05050645
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
59 additions
and
2 deletions
+59
-2
Dockerfile
Dockerfile
+4
-1
docker-compose.yml
docker-compose.yml
+1
-1
easycert.pem
easycert.pem
+26
-0
easykey.pem
easykey.pem
+28
-0
No files found.
Dockerfile
View file @
69b2b9bd
...
...
@@ -8,4 +8,7 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
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"]
docker-compose.yml
View file @
69b2b9bd
...
...
@@ -5,7 +5,7 @@ services:
container_name
:
easybistro-api
build
:
.
ports
:
-
"
80
:8
0"
-
"
80
00:800
0"
depends_on
:
-
mongodb
...
...
easycert.pem
0 → 100644
View file @
69b2b9bd
-----BEGIN CERTIFICATE-----
MIIEZjCCAs6gAwIBAgIQE2k9opXVUyjXp3BLhubJFjANBgkqhkiG9w0BAQsFADCB
kTEeMBwGA1UEChMVbWtjZXJ0IGRldmVsb3BtZW50I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
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment