rocky-docker-lxc/, caddy-vm/, monitoring-vm/ (was missing entirely -
Grafana+Loki+Prometheus stack, refreshed and CA mount stripped same as
everything else), and automation/{ansible,automation-vm,iac}/ for the
three repos that live on the automation VM. Hawser is genuinely
deployed on all three of caddy-vm/monitoring-vm/automation-vm so it's
duplicated in each rather than picking one canonical home.
Old Ansible/ and "Infrastrucutre as Code/" content moved under
automation/ansible/old-playbooks and automation/iac/old-content as-is
for now - contents still need refreshing against the current repos and
a per-folder README, that's the next pass.
77 lines
2.1 KiB
YAML
77 lines
2.1 KiB
YAML
services:
|
|
broker:
|
|
image: docker.io/library/redis:7
|
|
container_name: paperless-redis
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /path/to/paperless/redisdata:/data
|
|
networks:
|
|
- paperless-net
|
|
|
|
db:
|
|
image: docker.io/library/postgres:15
|
|
container_name: paperless-postgres
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /path/to/paperless/pgdata:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_DB: ${POSTGRES_DB}
|
|
POSTGRES_USER: ${POSTGRES_USER}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
networks:
|
|
- paperless-net
|
|
|
|
webserver:
|
|
image: ghcr.io/paperless-ngx/paperless-ngx:latest
|
|
container_name: paperless
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- db
|
|
- broker
|
|
- gotenberg
|
|
- tika
|
|
ports:
|
|
- "${HTTP_PORT}:8000"
|
|
volumes:
|
|
- /path/to/paperless/data:/usr/src/paperless/data
|
|
- /path/to/paperless/media:/usr/src/paperless/media
|
|
- /path/to/paperless/export:/usr/src/paperless/export
|
|
- /path/to/paperless/consume:/usr/src/paperless/consume
|
|
env_file: .env
|
|
environment:
|
|
PAPERLESS_REDIS: redis://broker:6379
|
|
PAPERLESS_DBHOST: db
|
|
PAPERLESS_DBPASS: ${PAPERLESS_DBPASS}
|
|
PAPERLESS_TIKA_ENABLED: 1
|
|
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
|
|
PAPERLESS_TIKA_ENDPOINT: http://tika:9998
|
|
PAPERLESS_URL: ${PAPERLESS_URL}
|
|
PAPERLESS_ADMIN_USER: ${PAPERLESS_ADMIN_USER}
|
|
PAPERLESS_ADMIN_PASSWORD: ${PAPERLESS_ADMIN_PASSWORD}
|
|
networks:
|
|
- paperless-net
|
|
|
|
gotenberg:
|
|
image: docker.io/gotenberg/gotenberg:7.10
|
|
container_name: paperless-gotenberg
|
|
restart: unless-stopped
|
|
# The gotenberg chromium route is used to convert .eml files. We do not
|
|
# want to allow external content like tracking pixels or even javascript.
|
|
command:
|
|
- "gotenberg"
|
|
- "--chromium-disable-javascript=true"
|
|
- "--chromium-allow-list=file:///tmp/.*"
|
|
networks:
|
|
- paperless-net
|
|
|
|
tika:
|
|
image: docker.io/apache/tika:latest
|
|
container_name: paperless-tika
|
|
restart: unless-stopped
|
|
networks:
|
|
- paperless-net
|
|
|
|
networks:
|
|
paperless-net:
|
|
external: true
|