A microservice based quiz application
5.4K
Source Code: https://gitlab.com/mindmile/dockerfile
git clone --recurse-submodules https://gitlab.com/mindmile/dockerfile.git
git clone --recurse-submodules [email protected]:mindmile/dockerfile.git
git submodule update --remote --merge
docker buildx build -t <docker_image_name:tag_name> .
pip install neo4j==5.28.1
python database.py
credentials.json from Google Cloudpip install -r requirements.txt
gen_token.py and do authentication in your web browserpython gen_token.py
| Name | Description |
|---|---|
WEB_APP_SENDER_MAIL | The email address from where the Application will send important notifications |
PORT | The port where the Web Application will be run |
NEO4J_SERVER_URI | The URI of the Neo4J server |
NEO4J_DB_USERNAME | The username of the Neo4J Database |
NEO4J_DB_PASSWORD | Password of the Neo4J Database |
REDIS_URI | The connection URI of the Redis Server |
ADMIN_EMAILS | The email address list of the Admin, Seperated by spaces |
CREDENTIALS | Content of the credentials.json encoded using Base64 algorithm |
TOKEN | Content of the token.json encoded using Base64 algorithm |
services:
mindmile:
image: <image_name>:<tag>
container_name: mindmile
ports:
- '<host_port>:<container_port>'
environment:
WEB_APP_SENDER_MAIL: '<email_address>'
PORT: <container_port>
NEO4J_SERVER_URI: '<connection_uri_of_Neo4j>'
NEO4J_DB_USERNAME: '<neo4j_username>'
NEO4J_DB_PASSWORD: '<neo4j_password>'
REDIS_URI: '<redis_connection_uri>'
ADMIN_EMAILS: '<email_of_admin1> <email_of_admin2> ...'
CREDENTIALS: '<base64_encoded_credentials>'
TOKEN: '<base64_encoded_token>'
Content type
Image
Digest
sha256:830546379…
Size
135 MB
Last updated
about 1 year ago
docker pull biltudas1/mindmile