Author SHA1 Message Date
tobbbs f1d90ed3c4 Update README.md 2026-05-27 13:09:33 +02:00
tobbbs 740557aeec Update compose.yaml 2026-05-27 13:09:15 +02:00
tobbbs 64bfae21f0 Add compose.yaml 2026-05-27 09:49:03 +02:00
2 changed files with 23 additions and 65 deletions
+1 -4
View File
@@ -1,7 +1,4 @@
# Bragi-Local # Bragi-Local
My Compose Stacks for all my Docker Services running on my Local Server Services:
06_maintanance:
- Lubelogger - Lubelogger
- Postgresql for Lubelogger
+22 -61
View File
@@ -1,71 +1,32 @@
services: services:
SnapOtter: lubelogger:
image: snapotter/snapotter:latest # or ghcr.io/snapotter-hq/snapotter:latest image: ghcr.io/hargata/lubelogger:latest
container_name: snapotter build: .
restart: unless-stopped
networks:
- bragi-local
volumes:
- /opt/06_maintanance/data:/App/data
- /opt/06_maintanance/keys:/root/.aspnet/DataProtection-Keys
# ports: # ports:
# - "1349:1349" # - 8082:8080
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: postgres:
condition: service_healthy image: postgres:14
redis:
condition: service_healthy
restart: unless-stopped restart: unless-stopped
deploy: networks:
resources: - bragi-local
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
postgres:
image: postgres:17-alpine
container_name: snapotter_postgres
environment: environment:
POSTGRES_USER: snapotter POSTGRES_USER: lubelogger
POSTGRES_PASSWORD: snapotter POSTGRES_PASSWORD: lubepass
POSTGRES_DB: snapotter POSTGRES_DB: lubelogger
networks:
- bragi-local
volumes: volumes:
- /opt/10_images/postgresql:/var/lib/postgresql/data - /opt/06_maintanance/init.sql:/docker-entrypoint-initdb.d/init.sql
restart: unless-stopped - /opt/06_maintanance/postgres:/var/lib/postgresql/data
healthcheck: - /etc/localtime:/etc/localtime:ro
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: volumes:
- /opt/10_images/redis:/data data: null
restart: unless-stopped keys: null
healthcheck: postgres: null
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 12
volumes:
SnapOtter-data:
SnapOtter-pgdata:
SnapOtter-redisdata:
networks: networks:
bragi-local: bragi-local:
external: true external: true