forked from Haxxnet/Compose-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (51 loc) · 1.54 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
services:
mealie-frontend:
image: hkotel/mealie:frontend-v1.0.0beta-5
container_name: mealie-frontend
hostname: mealie-frontend
depends_on:
- mealie-api
environment:
# Set Frontend ENV Variables Here
- API_URL=http://mealie-api:9000
restart: unless-stopped
ports:
- "9925:3000" # adjust to your liking
expose:
- 3000
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/mealie/data:/app/data/
#networks:
# - proxy
#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:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/mealie/data:/app/data/
#networks:
# - proxy
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
#networks:
# proxy:
# external: true