Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff1fddb111 | ||
|
|
ee594dc1d3 | ||
|
|
82a3f0e2d2 | ||
|
|
3ab0875242 | ||
|
|
60ac4f50a5 |
+56
-37
@@ -1,51 +1,70 @@
|
||||
services:
|
||||
freshrss:
|
||||
image: freshrss/freshrss:latest
|
||||
container_name: freshrss
|
||||
environment:
|
||||
TZ: Europe/Berlin
|
||||
CRON_MIN: '*/15'
|
||||
SnapOtter:
|
||||
image: snapotter/snapotter:latest # or ghcr.io/snapotter-hq/snapotter:latest
|
||||
container_name: snapotter
|
||||
# ports:
|
||||
# - 80:80
|
||||
volumes:
|
||||
- /opt/08_reading/freshrss/data:/var/www/FreshRSS/data
|
||||
- /opt/08_reading/freshrss/extensions:/var/www/FreshRSS/extensions
|
||||
restart: unless-stopped
|
||||
# - "1349:1349"
|
||||
networks:
|
||||
- bragi-local
|
||||
volumes:
|
||||
- /opt/10_images/snapotter:/data
|
||||
environment:
|
||||
- AUTH_ENABLED=true
|
||||
- DEFAULT_USERNAME=admin
|
||||
- DEFAULT_PASSWORD=admin
|
||||
- DATABASE_URL=postgres://snapotter:snapotter@postgres:5432/snapotter
|
||||
- REDIS_URL=redis://redis:6379
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: 1
|
||||
capabilities: [gpu]
|
||||
|
||||
kavita:
|
||||
image: lscr.io/linuxserver/kavita:latest
|
||||
container_name: kavita
|
||||
postgres:
|
||||
image: postgres:17-alpine
|
||||
container_name: snapotter_postgres
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Berlin
|
||||
volumes:
|
||||
- /opt/08_reading/kavita/config:/config
|
||||
- /mnt/immich/Books:/books
|
||||
# - /path/to/data:/data #optional
|
||||
# ports:
|
||||
# - 5000:5000
|
||||
restart: unless-stopped
|
||||
POSTGRES_USER: snapotter
|
||||
POSTGRES_PASSWORD: snapotter
|
||||
POSTGRES_DB: snapotter
|
||||
networks:
|
||||
- bragi-local
|
||||
volumes:
|
||||
- /opt/10_images/postgresql:/var/lib/postgresql/data
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U snapotter"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
|
||||
leafwiki:
|
||||
image: ghcr.io/perber/leafwiki:latest
|
||||
container_name: leafwiki
|
||||
user: 1000:1000
|
||||
# ports:
|
||||
# - "8080:8080"
|
||||
environment:
|
||||
- LEAFWIKI_JWT_SECRET=${JWT}
|
||||
- LEAFWIKI_ADMIN_PASSWORD=${ADMIN}
|
||||
- LEAFWIKI_ALLOW_INSECURE=true
|
||||
volumes:
|
||||
- /opt/08_reading/leafwiki:/app/data
|
||||
restart: unless-stopped
|
||||
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:
|
||||
SnapOtter-data:
|
||||
SnapOtter-pgdata:
|
||||
SnapOtter-redisdata:
|
||||
|
||||
networks:
|
||||
bragi-local:
|
||||
|
||||
Reference in New Issue
Block a user