2 Commits
Author SHA1 Message Date
tobbbs 1a15ab14e4 Update compose.yaml 2026-06-23 11:56:06 +02:00
tobbbs f344e358d5 Add compose.yaml 2026-06-23 11:30:20 +02:00
+24 -56
View File
@@ -1,70 +1,38 @@
services: services:
SnapOtter: windows:
image: snapotter/snapotter:latest # or ghcr.io/snapotter-hq/snapotter:latest image: dockurr/windows
container_name: snapotter container_name: windows
# ports:
# - "1349:1349"
networks:
- bragi-local
volumes:
- /opt/10_images/snapotter:/data
environment: environment:
- AUTH_ENABLED=true VERSION: "10"
- DEFAULT_USERNAME=admin RAM_SIZE: "16G"
- DEFAULT_PASSWORD=admin CPU_CORES: "8"
- DATABASE_URL=postgres://snapotter:snapotter@postgres:5432/snapotter LANGUAGE: "English"
- REDIS_URL=redis://redis:6379 REGION: "de-DE"
depends_on: KEYBOARD: "de-DE"
postgres: devices:
condition: service_healthy - /dev/kvm
redis: - /dev/net/tun
condition: service_healthy cap_add:
restart: unless-stopped - NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
volumes:
- /mnt/immich/windows:/storage
restart: always
runtime: nvidia
deploy: deploy:
resources: resources:
reservations: reservations:
devices: devices:
- driver: nvidia - driver: nvidia
count: 1 count: all
capabilities: [gpu] capabilities: [gpu]
postgres:
image: postgres:17-alpine
container_name: snapotter_postgres
environment:
POSTGRES_USER: snapotter
POSTGRES_PASSWORD: snapotter
POSTGRES_DB: snapotter
networks: networks:
- bragi-local - bragi-local
volumes: stop_grace_period: 2m
- /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: networks:
bragi-local: bragi-local: