mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-04 21:15:22 +02:00
docker file
This commit is contained in:
parent
e313741a25
commit
8631152aa3
4 changed files with 2 additions and 4 deletions
|
@ -9,7 +9,7 @@ services:
|
||||||
container_name: mealie
|
container_name: mealie
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 9000:9000
|
- 9090:9000
|
||||||
environment:
|
environment:
|
||||||
db_username: root
|
db_username: root
|
||||||
db_password: example
|
db_password: example
|
||||||
|
|
BIN
mealie/data/img/nilla-wafer.jpg
Normal file
BIN
mealie/data/img/nilla-wafer.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 889 KiB |
|
@ -2,11 +2,10 @@ import mongoengine
|
||||||
from settings import DB_HOST, DB_PASSWORD, DB_PORT, DB_USERNAME
|
from settings import DB_HOST, DB_PASSWORD, DB_PORT, DB_USERNAME
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def global_init():
|
def global_init():
|
||||||
mongoengine.register_connection(
|
mongoengine.register_connection(
|
||||||
alias="core",
|
alias="core",
|
||||||
name="demo_mealie",
|
name="mealie",
|
||||||
host=DB_HOST,
|
host=DB_HOST,
|
||||||
port=int(DB_PORT),
|
port=int(DB_PORT),
|
||||||
username=DB_USERNAME,
|
username=DB_USERNAME,
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
import datetime
|
|
||||||
|
|
||||||
import mongoengine
|
import mongoengine
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue