1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-04 21:15:22 +02:00
mealie/docker-compose.yml

34 lines
791 B
YAML
Raw Normal View History

2020-12-24 16:37:38 -09:00
# Use root/example as user/password credentials
# Frontend/Backend Served via the same Uvicorn Server
version: "3.1"
services:
mealie:
build:
context: ./
dockerfile: Dockerfile
container_name: mealie
restart: always
ports:
2021-01-01 16:56:19 -09:00
- 9090:9000
2020-12-24 16:37:38 -09:00
environment:
db_username: root
db_password: example
db_host: mongo
db_port: 27017
volumes:
2021-01-09 13:13:16 -09:00
- ./mealie/data/:/app/data
2020-12-24 16:37:38 -09:00
mongo:
image: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
mongo-express: # Optional Mongo GUI
image: mongo-express
restart: always
ports:
- 9091:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: example