docker file

This commit is contained in:
Hayden 2021-01-01 16:56:19 -09:00
parent e313741a25
commit 8631152aa3
4 changed files with 2 additions and 4 deletions

View file

@ -9,7 +9,7 @@ services:
container_name: mealie
restart: always
ports:
- 9000:9000
- 9090:9000
environment:
db_username: root
db_password: example

Binary file not shown.

After

Width:  |  Height:  |  Size: 889 KiB

View file

@ -2,11 +2,10 @@ import mongoengine
from settings import DB_HOST, DB_PASSWORD, DB_PORT, DB_USERNAME
def global_init():
mongoengine.register_connection(
alias="core",
name="demo_mealie",
name="mealie",
host=DB_HOST,
port=int(DB_PORT),
username=DB_USERNAME,

View file

@ -1,4 +1,3 @@
import datetime
import mongoengine