The public repo hadn't been touched since its initial import: 14 of its Docker entries (Airsonic, Diun, Duplicati, Gitlab, Gotify, Grocy, Jenkins, Jitsi, MariaDB, Minio, Organizr, Semaphore, Uptime Kuma, Whoogle) no longer exist anywhere in the fleet. Also strips the internal Caddy CA trust mount from the nocodb entry added earlier today - that's an internal PKI detail, not something to showcase publicly.
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
|