Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af1739b30d | ||
|
|
7daccdf71a | ||
|
|
cc75409d4b | ||
|
|
9092880b3e | ||
|
|
08c912b933 | ||
|
|
e126ce37af |
+37
-55
@@ -1,70 +1,52 @@
|
|||||||
services:
|
services:
|
||||||
SnapOtter:
|
mealie:
|
||||||
image: snapotter/snapotter:latest # or ghcr.io/snapotter-hq/snapotter:latest
|
image: ghcr.io/mealie-recipes/mealie:v2.8.0
|
||||||
container_name: snapotter
|
container_name: mealie
|
||||||
# ports:
|
restart: always
|
||||||
# - "1349:1349"
|
# ports:
|
||||||
|
# - 9925:9000
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 1000M #
|
||||||
networks:
|
networks:
|
||||||
- bragi-local
|
- bragi-local
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/10_images/snapotter:/data
|
- /home/shrek/docker/stack/mealie/mealie-data:/app/data/
|
||||||
environment:
|
environment:
|
||||||
- AUTH_ENABLED=true
|
ALLOW_SIGNUP: "false"
|
||||||
- DEFAULT_USERNAME=admin
|
TZ: Europe/Berlin
|
||||||
- DEFAULT_PASSWORD=admin
|
DB_ENGINE: postgres
|
||||||
- DATABASE_URL=postgres://snapotter:snapotter@postgres:5432/snapotter
|
POSTGRES_USER: mealie
|
||||||
- REDIS_URL=redis://redis:6379
|
POSTGRES_PASSWORD: mealie
|
||||||
|
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
|
networks:
|
||||||
container_name: snapotter_postgres
|
- bragi-local
|
||||||
|
container_name: 04_groceries_postgres
|
||||||
|
image: postgres:15
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- /home/shrek/docker/stack/mealie/mealie-pgdata:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: snapotter
|
POSTGRES_PASSWORD: mealie
|
||||||
POSTGRES_PASSWORD: snapotter
|
POSTGRES_USER: mealie
|
||||||
POSTGRES_DB: snapotter
|
PGUSER: mealie
|
||||||
networks:
|
|
||||||
- bragi-local
|
|
||||||
volumes:
|
|
||||||
- /opt/10_images/postgresql:/var/lib/postgresql/data
|
|
||||||
restart: unless-stopped
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U snapotter"]
|
test:
|
||||||
interval: 10s
|
- CMD
|
||||||
timeout: 5s
|
- pg_isready
|
||||||
retries: 12
|
interval: 30s
|
||||||
|
timeout: 20s
|
||||||
redis:
|
retries: 3
|
||||||
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:
|
||||||
SnapOtter-data:
|
mealie-data: null
|
||||||
SnapOtter-pgdata:
|
mealie-pgdata: null
|
||||||
SnapOtter-redisdata:
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
bragi-local:
|
bragi-local:
|
||||||
|
|||||||
Reference in New Issue
Block a user