Open EthraZa opened 2 weeks ago
did you mind show your docker compose config?
i think somthing is wrong. about role
YML exported by CasaOS:
name: big-bear-tianji
services:
big-bear-tianji:
cpu_shares: 90
command: []
container_name: big-bear-tianji
depends_on:
big-bear-tianji-db:
condition: service_started
required: true
deploy:
resources:
limits:
memory: 1858M
environment:
- ALLOW_OPENAPI=true
- ALLOW_REGISTER=false
- DATABASE_URL=postgresql://tianji-user:xxx@big-bear-tianji-db:5432/tianji
- JWT_SECRET=xxx
hostname: big-bear-tianji
image: moonrailgun/tianji:latest
labels:
icon: https://cdn.jsdelivr.net/gh/bigbeartechworld/big-bear-casaos/Apps/tianji/logo.png
ports:
- mode: ingress
target: 12345
published: "12345"
protocol: tcp
restart: unless-stopped
volumes: []
devices: []
cap_add: []
networks:
- big_bear_tianji_network
privileged: false
big-bear-tianji-db:
cpu_shares: 90
command: []
container_name: big-bear-tianji-db
deploy:
resources:
limits:
memory: 1858M
environment:
- POSTGRES_DB=tianji
- POSTGRES_PASSWORD=xxx
- POSTGRES_USER=tianji-user
hostname: big-bear-tianji-db
healthcheck:
test:
- CMD-SHELL
- "pg_isready -U -d "
timeout: 5s
interval: 5s
retries: 5
image: postgres:15-alpine
labels:
icon: https://cdn.jsdelivr.net/gh/bigbeartechworld/big-bear-casaos/Apps/tianji/logo.png
restart: always
volumes:
- type: bind
source: /DATA/AppData/big-bear-tianji/pgdata
target: /var/lib/postgresql/data
bind:
create_host_path: true
ports: []
devices: []
cap_add: []
networks:
- big_bear_tianji_network
privileged: false
networks:
big_bear_tianji_network:
name: big-bear-tianji_big_bear_tianji_network
driver: bridge
x-casaos:
architectures:
- amd64
- arm64
author: BigBearTechWorld
category: BigBearCasaOS
description:
en_us: 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.
developer: moonrailgun
hostname: ""
icon: https://cdn.jsdelivr.net/gh/bigbeartechworld/big-bear-casaos/Apps/tianji/logo.png
index: /
is_uncontrolled: false
main: big-bear-tianji
port_map: "12345"
scheme: http
store_app_id: big-bear-tianji
tagline:
en_us: "Tianji: Insight into everything, Website Analytics + Uptime Monitor +
Server Status. not only another GA alternatives"
thumbnail: ""
title:
custom: ""
en_us: Tianji
its part looks has problem. idk.
I have installed Tianji within CasaOS (Docker) and changed Tianji version to latest and postgres to 15-alpine (from 15.4-alpine). Everything seens to be working ok, but I see lots of the same error on postgres. 1- Is it something needing a fix? How do I do? 2- Does Tianji support MySQL or MariaDB?
Postgres log: