mealie: switched to 1.0.0 beta
parent
8381f47992
commit
602dadc7ef
|
@ -1,8 +1,8 @@
|
|||
version: '3.4'
|
||||
|
||||
services:
|
||||
app:
|
||||
image: 'hkotel/mealie:v0.5.6'
|
||||
frontend:
|
||||
image: 'hkotel/mealie:frontend-v1.0.0beta-4'
|
||||
|
||||
deploy:
|
||||
mode: 'replicated'
|
||||
|
@ -12,36 +12,71 @@ services:
|
|||
- 'node.labels.class.mealie==true'
|
||||
labels:
|
||||
- 'traefik.enable=true'
|
||||
- 'traefik.http.routers.mealie.rule=Host(`cook.rustybever.be`)'
|
||||
- 'traefik.http.routers.mealie.tls=true'
|
||||
- 'traefik.http.routers.mealie.tls.certresolver=letsEncrypt'
|
||||
- 'traefik.http.services.mealie.loadbalancer.server.port=80'
|
||||
- 'traefik.http.routers.mealie-frontend.rule=Host(`cook.rustybever.be`)'
|
||||
- 'traefik.http.routers.mealie-frontend.tls=true'
|
||||
- 'traefik.http.routers.mealie-frontend.tls.certresolver=letsEncrypt'
|
||||
- 'traefik.http.services.mealie-frontend.loadbalancer.server.port=9925'
|
||||
|
||||
environment:
|
||||
- 'PUID=1000'
|
||||
- 'PGID=1000'
|
||||
- 'TZ=Europe/Brussels'
|
||||
|
||||
# Default Recipe Settings
|
||||
- 'RECIPE_PUBLIC=true'
|
||||
- 'RECIPE_SHOW_NUTRITION=false'
|
||||
- 'RECIPE_SHOW_ASSETS=true'
|
||||
- 'RECIPE_LANDSCAPE_VIEW=true'
|
||||
- 'RECIPE_DISABLE_COMMENTS=false'
|
||||
- 'RECIPE_DISABLE_AMOUNT=false'
|
||||
|
||||
# My stuff
|
||||
- 'BASE_URL=https://cook.rustybever.be'
|
||||
- 'DEFAULT_GROUP=Default'
|
||||
- 'API_DOCS=false'
|
||||
API_URL: 'http://api:9000'
|
||||
ALLOW_SIGNUP: 'false'
|
||||
networks:
|
||||
- public
|
||||
- 'public'
|
||||
volumes:
|
||||
- 'data:/app/data'
|
||||
|
||||
api:
|
||||
image: 'hkotel/mealie:api-v1.0.0beta-4'
|
||||
|
||||
deploy:
|
||||
mode: 'replicated'
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- 'node.labels.class.mealie==true'
|
||||
|
||||
environment:
|
||||
# Server
|
||||
PUID: 22
|
||||
PGID: 22
|
||||
BASE_URL: 'https://cook.rustybever.be'
|
||||
TZ: 'Europe/Brussels'
|
||||
|
||||
# Database
|
||||
DB_ENGINE: 'postgres'
|
||||
POSTGRES_SERVER: 'db'
|
||||
POSTGRES_PORT: 5432
|
||||
POSTGRES_DB: 'mealie'
|
||||
POSTGRES_USER: 'mealie'
|
||||
POSTGRES_PASSWORD: 'mealie'
|
||||
|
||||
# Other
|
||||
ALLOW_SIGNUP: 'false'
|
||||
DEFAULT_EMAIL:
|
||||
volumes:
|
||||
- 'data:/app/data'
|
||||
|
||||
db:
|
||||
image: 'postgres:14.5'
|
||||
restart: 'always'
|
||||
|
||||
deploy:
|
||||
mode: 'replicated'
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- 'node.labels.class.mealie==true'
|
||||
|
||||
environment:
|
||||
POSTGRES_USER: 'mealie'
|
||||
POSTGRES_PASSWORD: 'mealie'
|
||||
volumes:
|
||||
- 'db-data:/var/lib/postgresql/data'
|
||||
|
||||
networks:
|
||||
public:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
data:
|
||||
db-data:
|
||||
|
|
Loading…
Reference in New Issue