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
+2 -5
View File
@@ -1,7 +1,4 @@
# Bragi-Local # Bragi-Local
My Compose Stacks for all my Docker Services running on my Local Server Services:
- Lubelogger
06_maintanance:
- Lubelogger
- Postgresql for Lubelogger
+21 -60
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: .
# ports: restart: unless-stopped
# - "1349:1349"
networks: networks:
- bragi-local - bragi-local
volumes: volumes:
- /opt/10_images/snapotter:/data - /opt/06_maintanance/data:/App/data
environment: - /opt/06_maintanance/keys:/root/.aspnet/DataProtection-Keys
- AUTH_ENABLED=true # ports:
- DEFAULT_USERNAME=admin # - 8082:8080
- 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: postgres:
image: postgres:17-alpine image: postgres:14
container_name: snapotter_postgres restart: unless-stopped
networks:
- bragi-local
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:
- /opt/10_images/redis:/data
restart: unless-stopped
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 12
volumes: volumes:
SnapOtter-data: data: null
SnapOtter-pgdata: keys: null
SnapOtter-redisdata: postgres: null
networks: networks:
bragi-local: bragi-local:
external: true external: true