Author SHA1 Message Date
tobbbs ff1fddb111 Update compose.yaml 2026-07-07 12:07:30 +02:00
tobbbs ee594dc1d3 Update compose.yaml 2026-06-22 13:01:19 +02:00
tobbbs 82a3f0e2d2 Update compose.yaml 2026-06-22 12:08:57 +02:00
tobbbs 3ab0875242 Update compose.yaml 2026-06-22 12:04:37 +02:00
tobbbs 60ac4f50a5 Add compose.yaml 2026-06-22 11:47:59 +02:00
+53 -35
View File
@@ -1,52 +1,70 @@
services: services:
mealie: SnapOtter:
image: ghcr.io/mealie-recipes/mealie:v2.8.0 image: snapotter/snapotter:latest # or ghcr.io/snapotter-hq/snapotter:latest
container_name: mealie container_name: snapotter
restart: always # ports:
# ports: # - "1349:1349"
# - 9925:9000
deploy:
resources:
limits:
memory: 1000M #
networks: networks:
- bragi-local - bragi-local
volumes: volumes:
- /home/shrek/docker/stack/mealie/mealie-data:/app/data/ - /opt/10_images/snapotter:/data
environment: environment:
ALLOW_SIGNUP: "false" - AUTH_ENABLED=true
TZ: Europe/Berlin - DEFAULT_USERNAME=admin
DB_ENGINE: postgres - DEFAULT_PASSWORD=admin
POSTGRES_USER: mealie - DATABASE_URL=postgres://snapotter:snapotter@postgres:5432/snapotter
POSTGRES_PASSWORD: mealie - REDIS_URL=redis://redis:6379
POSTGRES_SERVER: postgres
POSTGRES_PORT: 5432
POSTGRES_DB: mealie
depends_on: depends_on:
postgres: postgres:
condition: service_healthy condition: service_healthy
redis:
condition: service_healthy
restart: unless-stopped
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
postgres: postgres:
image: postgres:17-alpine
container_name: snapotter_postgres
environment:
POSTGRES_USER: snapotter
POSTGRES_PASSWORD: snapotter
POSTGRES_DB: snapotter
networks: networks:
- bragi-local - bragi-local
container_name: 04_groceries_postgres
image: postgres:15
restart: always
volumes: volumes:
- /home/shrek/docker/stack/mealie/mealie-pgdata:/var/lib/postgresql/data - /opt/10_images/postgresql:/var/lib/postgresql/data
environment: restart: unless-stopped
POSTGRES_PASSWORD: mealie
POSTGRES_USER: mealie
PGUSER: mealie
healthcheck: healthcheck:
test: test: ["CMD-SHELL", "pg_isready -U snapotter"]
- CMD interval: 10s
- pg_isready timeout: 5s
interval: 30s retries: 12
timeout: 20s
retries: 3 redis:
container_name: snapotter_redis
networks:
- bragi-local
image: redis:8-alpine
command: ["redis-server", "--maxmemory-policy", "noeviction", "--appendonly", "yes"]
volumes:
- /opt/10_images/redis:/data
restart: unless-stopped
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 12
volumes: volumes:
mealie-data: null SnapOtter-data:
mealie-pgdata: null SnapOtter-pgdata:
SnapOtter-redisdata:
networks: networks:
bragi-local: bragi-local: