docker compose

This commit is contained in:
Hayden 2021-01-01 23:04:35 -09:00
parent 10199d71a5
commit abd191f77a
2 changed files with 10 additions and 6 deletions

View File

@ -12,10 +12,8 @@ Alternatively, this project is run in python. If you are deadset on deploying on
version: "3.1"
services:
mealie:
build:
context: ./
dockerfile: Dockerfile
container_name: mealie
image: hkotel/mealie:latest
restart: always
ports:
- 9000:9000
@ -25,8 +23,8 @@ services:
db_host: mongo
db_port: 27017 # The Default port for Mongo DB
volumes:
- ./mealie/data/img:/app/data/img
- ./mealie/data/backups:/app/data/backups
- ./data/img:/app/data/img
- ./data/backups:/app/data/backups
mongo:
image: mongo

View File

@ -25,3 +25,9 @@ To import a backup it must be in your backups folder. If it is in the backup fol
Meal planner webhooks are post requests sent from Mealie to an external endpoint. The body of the message is the Recipe JSON of the scheduled meal. If no meal is schedule, no request is sent. The webhook functionality can be enabled or disabled as well as scheduled. Note that you must "Save Webhooks" prior to any changes taking affect serverside.
![](img/admin-webhooks.png)
## Migration
### Chowdown
In the Admin page on the in the Migration section you can provide a URL for a repo hosting a Chowdown site and Mealie will pull the images and recipes from the instance and automatically import them into the database. Due to the nature of the yaml format you may have mixed results but you should get an error report of the recipes that had errors and will need to be manually added.