mirror of
https://github.com/Sheldan/Sissi.git
synced 2026-01-26 19:21:43 +00:00
[RAB-1] rename project to Sissi
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>dev.sheldan.raustria.bot</groupId>
|
||||
<groupId>dev.sheldan.sissi</groupId>
|
||||
<artifactId>deployment</artifactId>
|
||||
<version>1.0.3-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
COMPOSE_PROJECT_NAME=r-austria
|
||||
COMPOSE_PROJECT_NAME=sissi
|
||||
# database configuration
|
||||
DATABASE_HOST=database
|
||||
DATABASE_PORT=5432
|
||||
@@ -30,4 +30,4 @@ PGADMIN_DEFAULT_EMAIL=sheldan@sheldan.dev
|
||||
PGADMIN_DEFAULT_PASSWORD=admin
|
||||
TOKEN=<INSERT TOKEN>
|
||||
YOUTUBE_API_KEY=<INSERT KEY>
|
||||
R_AUSTRIA_BOT_VERSION=1.0.2
|
||||
SISSI_VERSION=1.0.2
|
||||
@@ -2,7 +2,7 @@ version: '3.7'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: ${REGISTRY_PREFIX}r_austria_bot_database:${R_AUSTRIA_BOT_VERSION}
|
||||
image: ${REGISTRY_PREFIX}sissi_database:${SISSI_VERSION}
|
||||
container_name: ${COMPOSE_PROJECT_NAME}_database
|
||||
restart: always
|
||||
environment:
|
||||
@@ -11,12 +11,12 @@ services:
|
||||
ports:
|
||||
- "127.0.0.1:${DATABASE_PORT}:5432"
|
||||
networks:
|
||||
- raustriabot
|
||||
- sissi
|
||||
volumes:
|
||||
- db-data:/var/lib/postgresql/data
|
||||
deployment_container:
|
||||
container_name: ${COMPOSE_PROJECT_NAME}_deployment
|
||||
image: ${REGISTRY_PREFIX}r_austria_bot_deployment:${R_AUSTRIA_BOT_VERSION}
|
||||
image: ${REGISTRY_PREFIX}sissi_deployment:${SISSI_VERSION}
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
@@ -34,14 +34,14 @@ services:
|
||||
POSTGRES_DRIVER_PATH: ${EXECUTE_DEPLOYMENT:-/postgres/driver.jar}
|
||||
WAIT_HOSTS: ${COMPOSE_PROJECT_NAME}_${DATABASE_HOST}:${DATABASE_PORT}
|
||||
networks:
|
||||
- raustriabot
|
||||
- sissi
|
||||
bot:
|
||||
image: ${REGISTRY_PREFIX}r_austria_bot:${R_AUSTRIA_BOT_VERSION}
|
||||
image: ${REGISTRY_PREFIX}sissi:${SISSI_VERSION}
|
||||
depends_on:
|
||||
- db
|
||||
- deployment_container
|
||||
restart: on-failure
|
||||
container_name: ${COMPOSE_PROJECT_NAME}_raustriabot
|
||||
container_name: ${COMPOSE_PROJECT_NAME}bot
|
||||
environment:
|
||||
TOKEN: ${TOKEN}
|
||||
REMOTE_DEBUG: ${REMOTE_DEBUG}
|
||||
@@ -58,13 +58,13 @@ services:
|
||||
- "127.0.0.1:${DEBUG_PORT}:5005"
|
||||
- "127.0.0.1:${TOMCAT_PORT}:8080"
|
||||
networks:
|
||||
- raustriabot
|
||||
- sissi
|
||||
volumes:
|
||||
- bot-logs:/logs
|
||||
- ./config:/config
|
||||
pgadmin:
|
||||
container_name: ${COMPOSE_PROJECT_NAME}_pgadmin
|
||||
image: ${REGISTRY_PREFIX}r_austria_bot_pg_admin:${R_AUSTRIA_BOT_VERSION}
|
||||
image: ${REGISTRY_PREFIX}sissi_pg_admin:${SISSI_VERSION}
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
@@ -74,23 +74,23 @@ services:
|
||||
- "127.0.0.1:${PGADMIN_PORT}:80"
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- raustriabot
|
||||
- sissi
|
||||
prometheus:
|
||||
container_name: ${COMPOSE_PROJECT_NAME}_prometheus
|
||||
image: ${REGISTRY_PREFIX}r_austria_bot_prometheus:${R_AUSTRIA_BOT_VERSION}
|
||||
image: ${REGISTRY_PREFIX}sissi_prometheus:${SISSI_VERSION}
|
||||
depends_on:
|
||||
- bot
|
||||
ports:
|
||||
- "127.0.0.1:${PROMETHEUS_PORT}:9090"
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- raustriabot
|
||||
- sissi
|
||||
volumes:
|
||||
- ./res/prometheus-scrapper-password-filled:/etc/prometheus/micrometer_password
|
||||
- prometheus-data:/prometheus
|
||||
grafana:
|
||||
container_name: ${COMPOSE_PROJECT_NAME}_grafana
|
||||
image: ${REGISTRY_PREFIX}r_austria_bot_grafana:${R_AUSTRIA_BOT_VERSION}
|
||||
image: ${REGISTRY_PREFIX}sissi_grafana:${SISSI_VERSION}
|
||||
depends_on:
|
||||
- prometheus
|
||||
- bot
|
||||
@@ -110,10 +110,10 @@ services:
|
||||
volumes:
|
||||
- grafana-user-data:/var/lib/grafana
|
||||
networks:
|
||||
- raustriabot
|
||||
- sissi
|
||||
promtail:
|
||||
container_name: ${COMPOSE_PROJECT_NAME}_promtail
|
||||
image: ${REGISTRY_PREFIX}r_austria_bot_promtail:${R_AUSTRIA_BOT_VERSION}
|
||||
image: ${REGISTRY_PREFIX}sissi_promtail:${SISSI_VERSION}
|
||||
depends_on:
|
||||
- bot
|
||||
restart: unless-stopped
|
||||
@@ -121,10 +121,10 @@ services:
|
||||
volumes:
|
||||
- bot-logs:/logs
|
||||
networks:
|
||||
- raustriabot
|
||||
- sissi
|
||||
loki:
|
||||
container_name: ${COMPOSE_PROJECT_NAME}_loki
|
||||
image: ${REGISTRY_PREFIX}r_austria_bot_loki:${R_AUSTRIA_BOT_VERSION}
|
||||
image: ${REGISTRY_PREFIX}sissi_loki:${SISSI_VERSION}
|
||||
depends_on:
|
||||
- promtail
|
||||
command: -config.file=/mnt/config/loki-config.yaml
|
||||
@@ -132,12 +132,12 @@ services:
|
||||
- "127.0.0.1:${LOKI_PORT}:3100"
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- raustriabot
|
||||
- sissi
|
||||
|
||||
networks:
|
||||
raustriabot:
|
||||
sissi:
|
||||
driver: bridge
|
||||
name: raustriabot-network
|
||||
name: sissi-network
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>dev.sheldan.raustria.bot</groupId>
|
||||
<groupId>dev.sheldan.sissi</groupId>
|
||||
<artifactId>deployment</artifactId>
|
||||
<version>1.0.3-SNAPSHOT</version>
|
||||
</parent>
|
||||
@@ -32,13 +32,13 @@
|
||||
|
||||
<!-- backend jar -->
|
||||
<artifactItem>
|
||||
<groupId>dev.sheldan.raustria.bot.application</groupId>
|
||||
<groupId>dev.sheldan.sissi.application</groupId>
|
||||
<artifactId>executable</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<classifier>exec</classifier>
|
||||
<type>jar</type>
|
||||
<overWrite>true</overWrite>
|
||||
<outputDirectory>${file.basedir}/r-austria-bot/bot</outputDirectory>
|
||||
<outputDirectory>${file.basedir}/sissi/bot</outputDirectory>
|
||||
<destFileName>app.jar</destFileName>
|
||||
</artifactItem>
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
</artifactItem>
|
||||
|
||||
<artifactItem>
|
||||
<groupId>dev.sheldan.raustria.bot.templates</groupId>
|
||||
<groupId>dev.sheldan.sissi.templates</groupId>
|
||||
<artifactId>quotes-templates</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<type>zip</type>
|
||||
@@ -115,7 +115,7 @@
|
||||
</artifactItem>
|
||||
|
||||
<artifactItem>
|
||||
<groupId>dev.sheldan.raustria.bot.templates.translations</groupId>
|
||||
<groupId>dev.sheldan.sissi.templates.translations</groupId>
|
||||
<artifactId>quote-translations</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<type>zip</type>
|
||||
@@ -174,7 +174,7 @@
|
||||
<!-- custom modules -->
|
||||
|
||||
<artifactItem>
|
||||
<groupId>dev.sheldan.raustria.bot.application.module</groupId>
|
||||
<groupId>dev.sheldan.sissi.application.module</groupId>
|
||||
<artifactId>quotes</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<classifier>liquibase</classifier>
|
||||
|
||||
@@ -3,48 +3,48 @@ version: "3.7"
|
||||
services:
|
||||
bot:
|
||||
build:
|
||||
context: r-austria-bot
|
||||
image: ${REGISTRY_PREFIX}r_austria_bot:${VERSION:-latest}
|
||||
context: sissi
|
||||
image: ${REGISTRY_PREFIX}sissi:${VERSION:-latest}
|
||||
database:
|
||||
build:
|
||||
context: database
|
||||
args:
|
||||
POSTGRES_VERSION: ${POSTGRES_VERSION}
|
||||
image: ${REGISTRY_PREFIX}r_austria_bot_database:${VERSION:-latest}
|
||||
image: ${REGISTRY_PREFIX}sissi_database:${VERSION:-latest}
|
||||
pg_admin:
|
||||
build:
|
||||
context: pgAdmin
|
||||
args:
|
||||
PG_ADMIN_VERSION: ${PG_ADMIN_VERSION}
|
||||
image: ${REGISTRY_PREFIX}r_austria_bot_pg_admin:${VERSION:-latest}
|
||||
image: ${REGISTRY_PREFIX}sissi_pg_admin:${VERSION:-latest}
|
||||
deployment_container:
|
||||
build:
|
||||
context: deployment
|
||||
args:
|
||||
ABSTRACTO_REGISTRY_PREFIX: ${ABSTRACTO_REGISTRY_PREFIX}
|
||||
ABSTRACTO_VERSION: ${ABSTRACTO_VERSION}
|
||||
image: ${REGISTRY_PREFIX}r_austria_bot_deployment:${VERSION:-latest}
|
||||
image: ${REGISTRY_PREFIX}sissi_deployment:${VERSION:-latest}
|
||||
prometheus:
|
||||
build:
|
||||
context: prometheus
|
||||
args:
|
||||
PROMETHEUS_VERSION: ${PROMETHEUS_VERSION}
|
||||
image: ${REGISTRY_PREFIX}r_austria_bot_prometheus:${VERSION:-latest}
|
||||
image: ${REGISTRY_PREFIX}sissi_prometheus:${VERSION:-latest}
|
||||
grafana:
|
||||
build:
|
||||
context: grafana
|
||||
args:
|
||||
GRAFANA_VERSION: ${GRAFANA_VERSION}
|
||||
image: ${REGISTRY_PREFIX}r_austria_bot_grafana:${VERSION:-latest}
|
||||
image: ${REGISTRY_PREFIX}sissi_grafana:${VERSION:-latest}
|
||||
promtail:
|
||||
build:
|
||||
context: promtail
|
||||
args:
|
||||
PROMTAIL_VERSION: ${PROMTAIL_VERSION}
|
||||
image: ${REGISTRY_PREFIX}r_austria_bot_promtail:${VERSION:-latest}
|
||||
image: ${REGISTRY_PREFIX}sissi_promtail:${VERSION:-latest}
|
||||
loki:
|
||||
build:
|
||||
context: loki
|
||||
args:
|
||||
LOKI_VERSION: ${LOKI_VERSION}
|
||||
image: ${REGISTRY_PREFIX}r_austria_bot_loki:${VERSION:-latest}
|
||||
image: ${REGISTRY_PREFIX}sissi_loki:${VERSION:-latest}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"description": "Dashboard for RAustria Bot spring boot monitoring (adapted from https://grafana.com/grafana/dashboards/4701)",
|
||||
"description": "Dashboard for Sissi spring boot monitoring (adapted from https://grafana.com/grafana/dashboards/4701)",
|
||||
"editable": true,
|
||||
"gnetId": null,
|
||||
"graphTooltip": 1,
|
||||
@@ -1502,8 +1502,8 @@
|
||||
"allValue": null,
|
||||
"current": {
|
||||
"selected": true,
|
||||
"text": "raustriabot",
|
||||
"value": "raustriabot"
|
||||
"text": "Sissi",
|
||||
"value": "sissi"
|
||||
},
|
||||
"datasource": "prometheus",
|
||||
"definition": "",
|
||||
|
||||
@@ -37,12 +37,12 @@
|
||||
},
|
||||
"targets": [
|
||||
{
|
||||
"expr": "{job=\"r-austria-bot-logs\", filename=\"/logs/log.log\"}",
|
||||
"expr": "{job=\"sissi-logs\", filename=\"/logs/log.log\"}",
|
||||
"queryType": "randomWalk",
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
"title": "RAustria Bot logs",
|
||||
"title": "Sissi logs",
|
||||
"type": "logs"
|
||||
}
|
||||
],
|
||||
@@ -59,7 +59,7 @@
|
||||
},
|
||||
"timepicker": {},
|
||||
"timezone": "",
|
||||
"title": "RAustria Bot logs",
|
||||
"title": "Sissi logs",
|
||||
"uid": "1uGb0q4nz",
|
||||
"version": 2
|
||||
}
|
||||
@@ -1082,7 +1082,7 @@
|
||||
"hide": 2,
|
||||
"label": null,
|
||||
"name": "application",
|
||||
"query": "r-austria-bot",
|
||||
"query": "sissi",
|
||||
"skipUrlSync": false,
|
||||
"type": "constant"
|
||||
}
|
||||
@@ -1094,7 +1094,7 @@
|
||||
},
|
||||
"timepicker": {},
|
||||
"timezone": "",
|
||||
"title": "r-Austria Bot status",
|
||||
"title": "Sissi status",
|
||||
"uid": "6WIJ36BMz",
|
||||
"version": 3
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
- name: 'r-austria-bot-dashboards'
|
||||
- name: 'sissi-bot-dashboards'
|
||||
org_id: 1
|
||||
folder: ''
|
||||
type: 'file'
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"Servers": {
|
||||
"1": {
|
||||
"Name": "r-austria bot database",
|
||||
"Name": "Sissi database",
|
||||
"Group": "Server Group 1",
|
||||
"Port": 5432,
|
||||
"Username": "abstracto",
|
||||
"Host": "r-austria_db",
|
||||
"Host": "sissi_database",
|
||||
"SSLMode": "prefer",
|
||||
"MaintenanceDB": "postgres"
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ global:
|
||||
scrape_timeout: 10s
|
||||
evaluation_interval: 1m
|
||||
scrape_configs:
|
||||
- job_name: r_austria_bot_micrometer
|
||||
- job_name: sissi_micrometer
|
||||
honor_timestamps: true
|
||||
scrape_interval: 5s
|
||||
scrape_timeout: 5s
|
||||
@@ -11,7 +11,7 @@ scrape_configs:
|
||||
scheme: http
|
||||
static_configs:
|
||||
- targets:
|
||||
- r-austria_raustriabot:8080
|
||||
- sissibot:8080
|
||||
basic_auth:
|
||||
username: "abstracto"
|
||||
password_file: /etc/prometheus/micrometer_password
|
||||
@@ -5,7 +5,7 @@ positions:
|
||||
filename: /tmp/positions.yaml
|
||||
|
||||
clients:
|
||||
- url: http://r-austria_loki:3100/loki/api/v1/push
|
||||
- url: http://sissi_loki:3100/loki/api/v1/push
|
||||
|
||||
scrape_configs:
|
||||
- job_name: system
|
||||
@@ -13,5 +13,5 @@ scrape_configs:
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: r-austria-bot-logs
|
||||
job: sissi-logs
|
||||
__path__: /logs/*.log
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>dev.sheldan.raustria.bot</groupId>
|
||||
<artifactId>r-austria-bot</artifactId>
|
||||
<groupId>dev.sheldan.sissi</groupId>
|
||||
<artifactId>sissi</artifactId>
|
||||
<version>1.0.3-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
Reference in New Issue
Block a user