Restructure into one folder per private repo/host, not a flat Docker/ dump
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.
This commit is contained in:
146 files changed
+101
-84
No files matched your search
@@ -0,0 +1,56 @@
|
||||
services:
|
||||
joplin-db:
|
||||
image: postgres:latest
|
||||
container_name: joplin-db
|
||||
volumes:
|
||||
- /path/to/joplin:/var/lib/postgresql
|
||||
ports:
|
||||
- "${POSTGRES_PORT}:5432"
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_DB=${POSTGRES_DB}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
start_period: 15s
|
||||
networks:
|
||||
- joplin-net
|
||||
|
||||
joplin:
|
||||
image: joplin/server:latest
|
||||
container_name: joplin-server
|
||||
depends_on:
|
||||
- joplin-db
|
||||
ports:
|
||||
- "${HTTP_PORT}:22300"
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- APP_PORT=${HTTP_PORT}
|
||||
- APP_BASE_URL=${APP_BASE_URL}
|
||||
- DB_CLIENT=pg
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- POSTGRES_DATABASE=${POSTGRES_DB}
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PORT=${POSTGRES_PORT}
|
||||
- POSTGRES_HOST=joplin-db
|
||||
- MAILER_ENABLED=1
|
||||
- MAILER_HOST=${MAILER_HOST}
|
||||
- MAILER_PORT=${MAILER_PORT}
|
||||
- MAILER_SECURITY=${MAILER_SECURITY}
|
||||
- MAILER_AUTH_USER=${MAILER_AUTH_USER}
|
||||
- MAILER_AUTH_PASSWORD=${MAILER_AUTH_PASSWORD}
|
||||
- MAILER_NOREPLY_NAME=${MAILER_NOREPLY_NAME}
|
||||
- MAILER_NOREPLY_EMAIL=${MAILER_NOREPLY_EMAIL}
|
||||
- APP_ADMIN_EMAIL=${APP_ADMIN_EMAIL}
|
||||
- APP_ADMIN_PASSWORD=${APP_ADMIN_PASSWORD}
|
||||
- APP_ADMIN_NAME=${APP_ADMIN_NAME}
|
||||
networks:
|
||||
- joplin-net
|
||||
|
||||
networks:
|
||||
joplin-net:
|
||||
external: true
|
||||
Reference in new issue
Block a user