-
Install Docker.
-
Create a
.env
file# Environment settings for local development. CONTRIB_FASTAPI_APP=app CONTRIB_LOG_PATH: path/to/ CONTRIB_LOG_LEVEL=CONTRIB_LOG_LEVEL CONTRIB_MONGODB_DSN=CONTRIB_MONGODB_DSN
-
On the command line, within this directory, do this to build the image and start the container:
docker-compose up --build docker-compose up -d docker-compose -f docker-compose.yml logs -f
-
Open http://0.0.0.0/users/api/v1 in your browser.
gleb89 / users-service Goto Github PK
View Code? Open in Web Editor NEWUsers service REST API app