Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff1fddb111 | ||
|
|
ee594dc1d3 | ||
|
|
82a3f0e2d2 | ||
|
|
3ab0875242 | ||
|
|
60ac4f50a5 | ||
|
|
da83d83d9f |
@@ -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
|
||||||
+58
-46
@@ -1,59 +1,71 @@
|
|||||||
services:
|
services:
|
||||||
newt:
|
SnapOtter:
|
||||||
image: fosrl/newt
|
image: snapotter/snapotter:latest # or ghcr.io/snapotter-hq/snapotter:latest
|
||||||
container_name: newt
|
container_name: snapotter
|
||||||
restart: unless-stopped
|
# ports:
|
||||||
|
# - "1349:1349"
|
||||||
networks:
|
networks:
|
||||||
- bragi-local
|
- 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:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /opt/10_images/snapotter:/data
|
||||||
- /opt/hawser-stacks:/opt/hawser-stacks
|
|
||||||
environment:
|
environment:
|
||||||
- STACKS_DIR=/opt/hawser-stacks
|
- AUTH_ENABLED=true
|
||||||
- DOCKHAND_SERVER_URL=wss://hydra.doeringer.eu/api/hawser/connect
|
- DEFAULT_USERNAME=admin
|
||||||
- TOKEN=Dj-xnGfioO4x2UcAS72ipxRzhP9PSJUS6F8R66vI2WQ
|
- 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]
|
||||||
|
|
||||||
n8n:
|
postgres:
|
||||||
image: n8nio/n8n:latest
|
image: postgres:17-alpine
|
||||||
container_name: n8n
|
container_name: snapotter_postgres
|
||||||
restart: always
|
environment:
|
||||||
user: "${n8n_user}"
|
POSTGRES_USER: snapotter
|
||||||
|
POSTGRES_PASSWORD: snapotter
|
||||||
|
POSTGRES_DB: snapotter
|
||||||
networks:
|
networks:
|
||||||
- bragi-local
|
- bragi-local
|
||||||
# ports:
|
volumes:
|
||||||
# - "${N8N_Port}:80"
|
- /opt/10_images/postgresql:/var/lib/postgresql/data
|
||||||
environment:
|
restart: unless-stopped
|
||||||
- N8N_COMMUNITY_PACKAGES_ENABLED=true
|
healthcheck:
|
||||||
- DB_SQLITE_POOL_SIZE=4
|
test: ["CMD-SHELL", "pg_isready -U snapotter"]
|
||||||
- N8N_BASIC_AUTH_ACTIVE=true
|
interval: 10s
|
||||||
- N8N_RUNNERS_ENABLED=true
|
timeout: 5s
|
||||||
- NODE_FUNCTION_ALLOW_EXTERNAL=ws
|
retries: 12
|
||||||
- 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
|
redis:
|
||||||
volumes:
|
container_name: snapotter_redis
|
||||||
- /opt/00_infra/n8n:/home/node
|
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:
|
||||||
external: true
|
external: true
|
||||||
Reference in New Issue
Block a user