Some checks failed
Deploy to Swarm / deploy (push) Failing after 2s

This commit is contained in:
2025-10-25 12:34:39 -04:00
parent 8f9bd5ec8d
commit 5e6489b67d
14 changed files with 0 additions and 412 deletions

View File

@@ -1,18 +0,0 @@
services:
adminer:
image: adminer:latest
networks:
- homelab
ports:
- 8091:8080
environment:
- ADMINER_DEFAULT_SERVER=postgres
- ADMINER_DESIGN=nette
deploy:
replicas: 1
placement:
constraints:
- node.hostname == p0
networks:
homelab:
external: true

View File

@@ -1,35 +0,0 @@
services:
n8n:
image: n8nio/n8n:latest
ports:
- 5678:5678
networks:
- homelab
environment:
- N8N_HOST=n8n.bitfrost.me
- N8N_PORT=5678
- N8N_PROTOCOL=https
- N8N_RUNNERS_ENABLED=true
- WEBHOOK_URL=https://n8n.bitfrost.me/
- TZ=America/New_York
volumes:
- /mnt/swarm-data/n8n:/home/node/.n8n
- /var/run/docker.sock:/var/run/docker.sock:ro
deploy:
replicas: 1
placement:
constraints:
- node.role == manager
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
resources:
limits:
memory: 2G
reservations:
memory: 512M
networks:
homelab:
external: true

View File

@@ -1,64 +0,0 @@
services:
paperless_redis:
image: redis:alpine
networks:
- homelab
deploy:
replicas: 1
placement:
constraints:
- node.hostname == p0
paperless_webserver:
image: ghcr.io/paperless-ngx/paperless-ngx:latest
ports:
- 8000:8000
volumes:
- /mnt/swarm-data/paperless/data:/usr/src/paperless/data
- /mnt/swarm-data/paperless/media:/usr/src/paperless/media
- /mnt/swarm-data/paperless/export:/usr/src/paperless/export
- /mnt/gmail-exports/documents:/usr/src/paperless/consume
secrets:
- postgres-master
- paperless-secret-key
- paperless-admin-pass
environment:
- PAPERLESS_REDIS=redis://paperless_redis:6379
- PAPERLESS_DBHOST=postgres
- PAPERLESS_DBNAME=paperless
- PAPERLESS_DBUSER=admin
- PAPERLESS_DBPASS_FILE=/run/secrets/postgres-master
- PAPERLESS_SECRET_KEY_FILE=/run/secrets/paperless-secret-key
- PAPERLESS_TIME_ZONE=America/New_York
- PAPERLESS_OCR_LANGUAGE=eng
- PAPERLESS_URLS=https://docs.frostlabs.home
- PAPERLESS_ALLOWED_HOSTS=docs.frostlabs.home
- PAPERLESS_CONSUMER_POLLING=5
- PAPERLESS_CONSUMER_DELETE_DUPLICATES=true
- PAPERLESS_CONSUMER_RECURSIVE=true
- PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS=false
- PAPERLESS_CONSUMER_IGNORE_PATTERNS=[".DS_Store","._*",".stfolder",".stversions","Thumbs.db"]
- PAPERLESS_ENABLE_CLASSIFIER=true
- PAPERLESS_ADMIN_USER=admin
- PAPERLESS_ADMIN_PASSWORD_FILE=/run/secrets/paperless-admin-pass
- PAPERLESS_ADMIN_MAIL=john.allisonwin@outlook.com
networks:
- homelab
deploy:
replicas: 1
placement:
constraints:
- node.hostname == p0
depends_on:
- postgres
- paperless_redis
networks:
homelab:
external: true
secrets:
paperless-admin-pass:
external: true
paperless-secret-key:
external: true
postgres-master:
external: true