From fa111011e09d0ec70ddbeb4016f2410a93805604 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Mon, 2 Sep 2024 10:38:07 -0400 Subject: updated the examples and the readme --- README.md | 44 +++----------------------------------------- 1 file changed, 3 insertions(+), 41 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4f213f0..8f64509 100644 --- a/README.md +++ b/README.md @@ -289,6 +289,8 @@ fgColor = 0 bgColor = 28 ``` +For the watchList option, please remember to put the channels also in your scrape `scrapeChannels`.
+ ## RSS The rss file is self-explanatory. Here's an example: @@ -456,41 +458,6 @@ Images are automatically pushed to dockerhub. So you can get it from [there](htt An example docker compose file is provided in the repo under `docker-compose.yaml`. milla can be used with [gvisor](https://gvisor.dev/)'s docker runtime, `runsc`. -```yaml -services: - milla: - image: milla - build: - context: . - deploy: - resources: - limits: - memory: 64M - logging: - driver: "json-file" - options: - max-size: "100m" - networks: - - millanet - user: ${UID}:${GID} - restart: unless-stopped - command: ["--config", "/opt/milla/config.toml"] - volumes: - - ./config-gpt.toml:/opt/milla/config.toml - - /etc/localtime:/etc/localtime:ro - - /etc/resolv.conf:/etc/resolv.conf:ro - cap_drop: - - ALL - runtime: runsc -networks: - millanet: - driver: bridge -``` - -### Public Message Storage - -milla can be configured to store all incoming public messages for future use in a postgres database. An example docker compose file is provided under `docker-compose-postgres.yaml`.
- ```yaml services: terra: @@ -517,11 +484,6 @@ services: - /etc/localtime:/etc/localtime:ro cap_drop: - ALL - environment: - - HTTPS_PROXY=http://172.17.0.1:8120 - - https_proxy=http://172.17.0.1:8120 - - HTTP_PROXY=http://172.17.0.1:8120 - - http_proxy=http://172.17.0.1:8120 postgres: image: postgres:16-alpine3.19 deploy: @@ -564,7 +526,7 @@ services: max-size: "100m" environment: - PGADMIN_LISTEN_PORT=${PGADMIN_LISTEN_PORT:-5050} - - PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL:-devi@terminaldweller.com} + - PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL: - PGADMIN_DEFAULT_PASSWORD_FILE=/run/secrets/pgadmin_pass - PGADMIN_DISABLE_POSTFIX=${PGADMIN_DISABLE_POSTFIX:-YES} ports: -- cgit v1.2.3