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
tobbbs da83d83d9f Update README.md 2026-05-27 13:10:17 +02:00
2 changed files with 76 additions and 1 deletions
+5 -1
View File
@@ -1,3 +1,7 @@
# Bragi-Local # Bragi-Local
My Compose Stacks for all my Docker Services running on my Local Server My Compose Stacks for all my Docker Services running on my Local Server
06_maintanance:
- Lubelogger
- Postgresql for Lubelogger
+71
View File
@@ -0,0 +1,71 @@
services:
SnapOtter:
image: snapotter/snapotter:latest # or ghcr.io/snapotter-hq/snapotter:latest
container_name: snapotter
# ports:
# - "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]
postgres:
image: postgres:17-alpine
container_name: snapotter_postgres
environment:
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
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:
external: true