mealie rework

This commit is contained in:
Maksym Buz
2025-02-23 18:26:46 +01:00
committed by GitHub
parent 47fa506b72
commit e828dada00
2 changed files with 46 additions and 30 deletions

View File

@@ -1,39 +1,22 @@
version: "3.7"
services: services:
mealie-frontend: mealie:
image: hkotel/mealie:frontend-v1.0.0beta-5 image: ghcr.io/mealie-recipes/mealie:latest #
container_name: mealie-frontend container_name: mealie
env_file: env_file:
- stack.env - .env
environment:
# Set Frontend ENV Variables Here
- API_URL=http://mealie-api:9000
restart: unless-stopped restart: unless-stopped
ports: ports:
- "9925:3000" - "9925:9000" #
volumes:
- ${DATA_FOLDER}/mealie:/app/data/
mealie-api:
image: hkotel/mealie:api-v1.0.0beta-5
container_name: mealie-api
deploy: deploy:
resources: resources:
limits: limits:
memory: 1024M memory: 1000M #
volumes: volumes:
- ${DATA_FOLDER}/mealie:/app/data/ - ${DATA_FOLDER}:/app/data/
environment: environment:
# Set Backend ENV Variables Here # Set Backend ENV Variables Here
- ALLOW_SIGNUP=true ALLOW_SIGNUP: "false"
- PUID=1000 PUID: 1000
- PGID=1000 PGID: 1000
- TZ=Europe/Warsaw TZ: Europe/Warsaw
- MAX_WORKERS=1 BASE_URL: ${YOUR_DOMAIN:-https://mealie.yourdomain.com}
- WEB_CONCURRENCY=1
- BASE_URL=${BASE_URL}
restart: unless-stopped
volumes:
mealie-data:
driver: local

33
mealie/old.compose.yaml Normal file
View File

@@ -0,0 +1,33 @@
services:
mealie-frontend:
image: hkotel/mealie:latest
container_name: mealie-frontend
env_file:
- .env
environment:
# Set Frontend ENV Variables Here
- API_URL=http://mealie-api:9000
restart: unless-stopped
ports:
- "9925:3000"
volumes:
- ${DATA_FOLDER}/mealie:/app/data/
mealie-api:
image: hkotel/mealie:api-v1.0.0beta-5
container_name: mealie-api
deploy:
resources:
limits:
memory: 1024M
volumes:
- ${DATA_FOLDER}/mealie:/app/data/
environment:
# Set Backend ENV Variables Here
- ALLOW_SIGNUP=true
- PUID=1000
- PGID=1000
- TZ=Europe/Warsaw
- MAX_WORKERS=1
- WEB_CONCURRENCY=1
- BASE_URL=${BASE_URL}
restart: unless-stopped