2023-02-25 11:50:06 +00:00
|
|
|
version: "3.7"
|
2023-02-15 21:45:31 +00:00
|
|
|
|
|
|
|
services:
|
2023-02-25 11:50:06 +00:00
|
|
|
mealie-frontend:
|
|
|
|
image: hkotel/mealie:frontend-v1.0.0beta-5
|
|
|
|
container_name: mealie-frontend
|
|
|
|
hostname: mealie-frontend
|
|
|
|
depends_on:
|
|
|
|
- mealie-api
|
2023-02-15 21:45:31 +00:00
|
|
|
environment:
|
2023-02-25 11:50:06 +00:00
|
|
|
# Set Frontend ENV Variables Here
|
|
|
|
- API_URL=http://mealie-api:9000
|
2023-02-15 21:45:31 +00:00
|
|
|
restart: unless-stopped
|
2023-02-25 11:50:06 +00:00
|
|
|
ports:
|
|
|
|
- "9925:3000" # adjust to your liking
|
2023-02-15 21:45:31 +00:00
|
|
|
volumes:
|
2023-02-25 12:52:38 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/mealie/data:/app/data/
|
2023-02-25 11:59:19 +00:00
|
|
|
#networks:
|
|
|
|
# - proxy
|
2023-02-25 11:50:06 +00:00
|
|
|
#labels:
|
|
|
|
# - traefik.enable=true
|
|
|
|
# - traefik.http.routers.mealie.rule=Host(`mealie.example.com`)
|
|
|
|
# - traefik.http.services.mealie.loadbalancer.server.port=3000
|
|
|
|
# - traefik.docker.network=proxy
|
|
|
|
# # Part for optional traefik middlewares
|
|
|
|
# - traefik.http.routers.mealie.middlewares=local-ipwhitelist@file,basic-auth@file
|
|
|
|
|
|
|
|
mealie-api:
|
|
|
|
image: hkotel/mealie:api-v1.0.0beta-5
|
|
|
|
container_name: mealie-api
|
|
|
|
hostname: mealie-api
|
|
|
|
deploy:
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
memory: 512M # Setting a memory limit will improve idle performance.
|
|
|
|
volumes:
|
2023-02-25 12:52:38 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/mealie/data:/app/data/
|
2023-02-25 11:59:19 +00:00
|
|
|
#networks:
|
|
|
|
# - proxy
|
2023-02-25 11:50:06 +00:00
|
|
|
environment:
|
|
|
|
# Set Backend ENV Variables Here
|
|
|
|
- ALLOW_SIGNUP=true # disable after setting up your accounts!
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- TZ=Europe/Berlin
|
|
|
|
- MAX_WORKERS=1
|
|
|
|
- WEB_CONCURRENCY=1
|
|
|
|
- BASE_URL=https://mealie.example.com # adjust this!
|
|
|
|
restart: unless-stopped
|
2023-02-25 11:59:19 +00:00
|
|
|
|
|
|
|
#networks:
|
|
|
|
# proxy:
|
|
|
|
# external: true
|