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.
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
services:
|
|
nocodb:
|
|
image: nocodb/nocodb:latest
|
|
container_name: nocodb
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${HTTP_PORT}:8080"
|
|
depends_on:
|
|
nocodb_db:
|
|
condition: service_healthy
|
|
environment:
|
|
TZ: ${TZ}
|
|
NC_DB: pg://nocodb_db:5432?u=${POSTGRES_USER}&p=${POSTGRES_PASSWORD}&d=${POSTGRES_DB}
|
|
NC_AUTH_JWT_SECRET: ${JWT_SECRET}
|
|
volumes:
|
|
- /path/to/nocodb/nc_data:/usr/app/data
|
|
networks:
|
|
- nocodb-net
|
|
|
|
nocodb_db:
|
|
image: postgres:16-alpine
|
|
container_name: nocodb_postgres
|
|
restart: unless-stopped
|
|
environment:
|
|
TZ: ${TZ}
|
|
POSTGRES_DB: ${POSTGRES_DB}
|
|
POSTGRES_USER: ${POSTGRES_USER}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
volumes:
|
|
- /path/to/nocodb/db_data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 10
|
|
start_period: 20s
|
|
networks:
|
|
- nocodb-net
|
|
|
|
networks:
|
|
nocodb-net:
|
|
external: true
|