Files
Bragi-Local/compose.yaml
T
2026-07-21 09:02:18 +02:00

78 lines
2.0 KiB
YAML

services:
newt:
image: fosrl/newt
container_name: newt
restart: unless-stopped
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
postgres:
image: postgres:16
restart: always
networks:
- bragi-local
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
- POSTGRES_NON_ROOT_USER
- POSTGRES_NON_ROOT_PASSWORD
volumes:
- db_storage:/var/lib/postgresql/data
- ./init-data.sh:/docker-entrypoint-initdb.d/init-data.sh
healthcheck:
test: ['CMD-SHELL', 'pg_isready -h localhost -U ${POSTGRES_USER} -d ${POSTGRES_DB}']
interval: 5s
timeout: 5s
retries: 10
n8n:
image: n8nio/n8n:latest
container_name: n8n
restart: always
user: "${n8n_user}"
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
#- NODE_TLS_REJECT_UNAUTHORIZED=0
volumes:
- /opt/00_infra/n8n:/home/node
networks:
bragi-local:
external: true