Updated Tianji
This commit is contained in:
@@ -1,46 +1,56 @@
|
||||
name: cpn-tianji
|
||||
services:
|
||||
app_proxy:
|
||||
environment:
|
||||
APP_HOST: tianji_server_1
|
||||
APP_PORT: 5555
|
||||
PROXY_AUTH_ADD: "false"
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
cpn-tianji:
|
||||
image: moonrailgun/tianji:1.31.8@sha256:86b58556fa9ff5454cb4eeddc2330124244733820a56b5491c8c0e4399880c68
|
||||
container_name: cpn-tianji
|
||||
image: moonrailgun/tianji:1.31.8
|
||||
hostname: cpn-tianji
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 1m
|
||||
ports:
|
||||
- ${APP_TIANJI_PORT:-12345}:12345
|
||||
environment:
|
||||
DATABASE_URL: postgresql://tianji-user:227453b7-1286-48cc-b471-1c269495c5fc@cpn-tianji-db:5432/tianji
|
||||
JWT_SECRET: replace-me-with-a-random-string
|
||||
DATABASE_URL: postgresql://tianji-user:${APP_PASSWORD}@cpn-tianji-db:5432/tianji
|
||||
JWT_SECRET: ${APP_SEED}
|
||||
ALLOW_REGISTER: "false"
|
||||
ALLOW_OPENAPI: "true"
|
||||
ports:
|
||||
- "12345:12345"
|
||||
PUBLIC_URL: "http://${DEVICE_DOMAIN_NAME}:${APP_TIANJI_PORT:-12345}"
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/configs:/app/data/configs
|
||||
- ${APP_DATA_DIR}/data/icons:/app/public/icons
|
||||
- ${APP_DATA_DIR}/data:/data
|
||||
depends_on:
|
||||
cpn-tianji-db:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- cpn_tianji_network
|
||||
depends_on:
|
||||
- cpn-tianji-db
|
||||
|
||||
cpn-tianji-db:
|
||||
container_name: cpn-tianji-db
|
||||
image: postgres:15.4-alpine
|
||||
container_name: cpn-tianji-db
|
||||
hostname: cpn-tianji-db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: tianji
|
||||
POSTGRES_USER: tianji-user
|
||||
POSTGRES_PASSWORD: 227453b7-1286-48cc-b471-1c269495c5fc
|
||||
POSTGRES_PASSWORD: ${APP_PASSWORD}
|
||||
PGDATA: /var/lib/postgresql/data/pgdata
|
||||
volumes:
|
||||
- tianji_pgdata:/var/lib/postgresql/data
|
||||
restart: always
|
||||
- tianji_pgdata:/var/lib/postgresql/data/pgdata
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||
test: ["CMD-SHELL", "pg_isready -U tianji-user -d tianji"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
networks:
|
||||
- cpn_tianji_network
|
||||
|
||||
networks:
|
||||
cpn_tianji_network:
|
||||
name: cpn_tianji_network
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
tianji_pgdata:
|
||||
name: tianji_pgdata
|
||||
|
||||
@@ -1,13 +1,38 @@
|
||||
manifestVersion: 1
|
||||
id: cpn-tianji
|
||||
name: Tianji
|
||||
tagline: All-in-One Insight Hub
|
||||
tagline: Insight into everything, Website Analytics + Uptime Monitor + Server Status
|
||||
icon: https://git.weektab.org/companas/umbrel-apps/raw/branch/main/gallery/tianji/icon.png
|
||||
category: Networking
|
||||
version: "1.31.8"
|
||||
port: 12345
|
||||
description: >-
|
||||
Tianji is an open-source project dedicated to providing robust and efficient solutions for data integration and management. By leveraging community contributions, Tianji continually evolves to meet the dynamic needs of users across various industries. Its open-source nature ensures transparency, flexibility, and the ability to customize functionalities according to specific requirements. Join the Tianji community today to collaborate, innovate, and contribute to a growing ecosystem of cutting-edge data solutions.
|
||||
During our observations of the website. We often need to use multiple applications together.
|
||||
For example, we need analysis tools such as GA/umami to check pv/uv and the number of visits
|
||||
to each page, we need an uptime monitor to check the network quality and connectivity of the
|
||||
server, and we need to use prometheus to obtain the status reported by the server to check
|
||||
the quality of the server.
|
||||
|
||||
In addition, if we develop an application that allows open source deployment, we often need
|
||||
a telemetry system to help us collect the simplest information about other people's deployment
|
||||
situations.
|
||||
|
||||
I think these tools should serve the same purpose, so is there an application that can integrate
|
||||
these common needs in a lightweight way? After all, most of the time we don't need very professional
|
||||
and in-depth functions. But in order to achieve comprehensive monitoring, I need to install so many
|
||||
services.
|
||||
|
||||
It's good to specialize in one thing, if we are experts in related abilities we need such specialized
|
||||
tools. But for most users who only have lightweight needs, an All-in-One application will be more
|
||||
convenient and easier to use.
|
||||
|
||||
|
||||
Features:
|
||||
- Website Analytics: Track page views, unique visitors, and user behavior
|
||||
- Uptime Monitor: Monitor your websites and services with health checks
|
||||
- Server Status: Monitor server health with CPU, memory, and disk metrics
|
||||
- Telemetry: Collect deployment statistics for open-source projects
|
||||
- Privacy First: Self-hosted, GDPR and CCPA compliant
|
||||
developer: Msgbyte
|
||||
website: https://tianji.dev/
|
||||
submitter: Weektab
|
||||
|
||||
Reference in New Issue
Block a user