- At the DB machine, copy
docker-compose.yml
located atsrc/db/
, edit the file to change the credentials and the database, and rundocker-compose run db
. You can also change the port of the database (host side port). - At the server machine, copy the content of the directory
opt/
to the server filesystem/opt/
and install the requirements usingpip install -r /opt/requirements.txt
, then copydocker-compose.yml
located atsrc/server/
, edit the file to change the database information (host, port, username, password, database, collection), and rundocker-compose run server
. You can also change the port of the API (host side port).
-
Notifications
You must be signed in to change notification settings - Fork 0
MazenAmria/InternshipTasks.Docker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published