Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff1fddb111 | ||
|
|
ee594dc1d3 | ||
|
|
82a3f0e2d2 | ||
|
|
3ab0875242 | ||
|
|
60ac4f50a5 | ||
|
|
da83d83d9f |
@@ -1,3 +1,7 @@
|
||||
# Bragi-Local
|
||||
|
||||
My Compose Stacks for all my Docker Services running on my Local Server
|
||||
|
||||
06_maintanance:
|
||||
- Lubelogger
|
||||
- Postgresql for Lubelogger
|
||||
+57
-45
@@ -1,58 +1,70 @@
|
||||
services:
|
||||
newt:
|
||||
image: fosrl/newt
|
||||
container_name: newt
|
||||
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
|
||||
environment:
|
||||
- PANGOLIN_ENDPOINT=https://tunnel.doeringer.eu
|
||||
- NEWT_ID=yogqsqz240z1kgr
|
||||
- NEWT_SECRET=chw2i78vd9w9mqaeyjxq7iyrvpu6z365zgmkxxiccus76933
|
||||
|
||||
hawser:
|
||||
image: ghcr.io/finsys/hawser:latest
|
||||
container_name: hawser
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /opt/hawser-stacks:/opt/hawser-stacks
|
||||
environment:
|
||||
- STACKS_DIR=/opt/hawser-stacks
|
||||
- DOCKHAND_SERVER_URL=wss://hydra.doeringer.eu/api/hawser/connect
|
||||
- TOKEN=Dj-xnGfioO4x2UcAS72ipxRzhP9PSJUS6F8R66vI2WQ
|
||||
- /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
|
||||
|
||||
n8n:
|
||||
image: n8nio/n8n:latest
|
||||
container_name: n8n
|
||||
restart: always
|
||||
user: "${n8n_user}"
|
||||
redis:
|
||||
container_name: snapotter_redis
|
||||
networks:
|
||||
- bragi-local
|
||||
# ports:
|
||||
# - "${N8N_Port}:80"
|
||||
environment:
|
||||
- N8N_COMMUNITY_PACKAGES_ENABLED=true
|
||||
- DB_SQLITE_POOL_SIZE=4
|
||||
- N8N_BASIC_AUTH_ACTIVE=true
|
||||
- N8N_RUNNERS_ENABLED=true
|
||||
- NODE_FUNCTION_ALLOW_EXTERNAL=ws
|
||||
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
|
||||
- N8N_LISTEN_ADDRESS=0.0.0.0
|
||||
- N8N_PROXY_HOPS=1
|
||||
- N8N_PROTOCOL=https
|
||||
- N8N_BASIC_AUTH_USER=${N8N_AUser}
|
||||
- N8N_BASIC_AUTH_PASSWORD=${N8N_APass}
|
||||
- N8N_HOST=${N8N_HOST}
|
||||
- WEBHOOK_URL=${N8N_Webhook}
|
||||
- N8N_PORT=80
|
||||
- N8N_ENABLE_EXECUTE_COMMAND=true
|
||||
- NODES_EXCLUDE=[]
|
||||
|
||||
#- NODE_TLS_REJECT_UNAUTHORIZED=0
|
||||
image: redis:8-alpine
|
||||
command: ["redis-server", "--maxmemory-policy", "noeviction", "--appendonly", "yes"]
|
||||
volumes:
|
||||
- /opt/00_infra/n8n:/home/node
|
||||
|
||||
- /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