From 2b3ef341a10b28744698187b028e415088609527 Mon Sep 17 00:00:00 2001 From: Aitor Date: Fri, 7 Feb 2025 21:26:07 +0100 Subject: [PATCH] Update API URLs --- README.md | 24 ++++++++++++++---------- docker-compose.yml | 3 ++- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index ad6c558..348b2d5 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,9 @@ [![Issues][issues-shield]][issues-url] [![MIT License][license-shield]][license-url] [![LinkedIn][linkedin-shield]][linkedin-url] +Visit Counter
@@ -63,12 +66,12 @@ The Visit Counter API is a lightweight, self‑hostable backend service built in If you simply want to utilize my API, you can simply add an `img` tag to your site: ```html Visit Counter ``` #### Parameters -- Page name: Don't forget to set it `https://ak5nas.eu/visit_counter/YOUR_PAGE_NAME` +- Page name: Don't forget to set it `https://visitcounter.aichan.ovh/counter/YOUR_PAGE_NAME...` - `label`: The text shown to the left. - `style`: Directly embed CSS in here. Something like `":root { --background-counter: red; }"` would work. @@ -228,14 +231,15 @@ A sample ```yaml version: "3" services: - counter: - build: . - ports: - - "8000:8000" - environment: - ROCKET_ADDRESS: "0.0.0.0" - ROCKET_PORT: "8000" - API_KEY: "your_secret_api_key_here" + counter: + container_name: visit-counter + image: ghcr.io/aitorastorga/aichan-visit-counter:latest + ports: + - "8000:8000" + environment: + ROCKET_ADDRESS: "0.0.0.0" + ROCKET_PORT: "8000" + API_KEY: "your_secret_api_key_here" ```

(back to top)

diff --git a/docker-compose.yml b/docker-compose.yml index 5cf365b..545299d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,10 +1,11 @@ version: "3" services: counter: + container_name: visit-counter image: ghcr.io/aitorastorga/aichan-visit-counter:latest ports: - "8000:8000" environment: ROCKET_ADDRESS: "0.0.0.0" ROCKET_PORT: "8000" - API_KEY: "your_secret_api_key_here" + API_KEY: "your_secret_api_key_here" \ No newline at end of file