mirror of
https://github.com/acedanger/docker.git
synced 2025-12-06 06:40:12 -08:00
Remove mealie service from docker-compose.yml and add memos_prod.db to .gitignore
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -23,3 +23,4 @@ pdf/stirling/latest/config/*.db
|
|||||||
|
|
||||||
# ignore environment files
|
# ignore environment files
|
||||||
.env
|
.env
|
||||||
|
memos/.memos/memos_prod.db
|
||||||
|
|||||||
@@ -1,54 +0,0 @@
|
|||||||
services:
|
|
||||||
mealie:
|
|
||||||
image: ghcr.io/mealie-recipes/mealie:latest
|
|
||||||
container_name: mealie
|
|
||||||
restart: always
|
|
||||||
ports:
|
|
||||||
- 9925:9000
|
|
||||||
deploy:
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
memory: 1000M
|
|
||||||
volumes:
|
|
||||||
- mealie-data:/app/data/
|
|
||||||
environment:
|
|
||||||
ALLOW_SIGNUP: false
|
|
||||||
PUID: 1000
|
|
||||||
PGID: 1000
|
|
||||||
TZ: America/New_York
|
|
||||||
MAX_WORKERS: 1
|
|
||||||
WEB_CONCURRENCY: 1
|
|
||||||
BASE_URL: ${BASE_URL}
|
|
||||||
# Database Settings
|
|
||||||
DB_ENGINE: ${DATABASE_TYPE}
|
|
||||||
POSTGRES_USER: ${POSTGRES_USER}
|
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
||||||
POSTGRES_SERVER: ${POSTGRES_SERVER}
|
|
||||||
POSTGRES_PORT: ${POSTGRES_PORT}
|
|
||||||
POSTGRES_DB: ${POSTGRES_DB}
|
|
||||||
depends_on:
|
|
||||||
postgres:
|
|
||||||
condition: service_healthy
|
|
||||||
labels:
|
|
||||||
- diun.enable=true
|
|
||||||
postgres:
|
|
||||||
container_name: postgres
|
|
||||||
image: postgres:15
|
|
||||||
restart: always
|
|
||||||
volumes:
|
|
||||||
- mealie-pgdata:/var/lib/postgresql/data
|
|
||||||
environment:
|
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_USER}
|
|
||||||
POSTGRES_USER: ${POSTGRES_PASSWORD}
|
|
||||||
healthcheck:
|
|
||||||
test:
|
|
||||||
- CMD
|
|
||||||
- pg_isready
|
|
||||||
interval: 30s
|
|
||||||
timeout: 20s
|
|
||||||
retries: 3
|
|
||||||
labels:
|
|
||||||
- diun.enable=true
|
|
||||||
volumes:
|
|
||||||
mealie-data: null
|
|
||||||
mealie-pgdata: null
|
|
||||||
Reference in New Issue
Block a user