From 12635c654a3c991938b0424cfb32fd2ef220c1b0 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 31 Oct 2023 20:28:19 +0600 Subject: [PATCH] update sample files --- runner/config.json | 10 +++++----- runner/sample.docker-compose.yml | 23 +++++++++++++++++++++++ 2 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 runner/sample.docker-compose.yml diff --git a/runner/config.json b/runner/config.json index b56b2cf..e080bd9 100644 --- a/runner/config.json +++ b/runner/config.json @@ -33,11 +33,11 @@ }, "ratingsPolls": { "variants": { - "Круть": 2, - "Ок": 1, - "Не ок": -1, - "Совсем не ок": -2, - "Посмотреть результаты": 0 + "Cool": 2, + "Ok": 1, + "Not ok": -1, + "Inappropriate": -2, + "Results": 0 }, "autoAttach": true, "ratingOfferText": "What do you think about it?" diff --git a/runner/sample.docker-compose.yml b/runner/sample.docker-compose.yml new file mode 100644 index 0000000..e03cc1e --- /dev/null +++ b/runner/sample.docker-compose.yml @@ -0,0 +1,23 @@ +version: "3.4" + +services: + plaguposter_postgres: + image: postgres:15.4-bullseye + container_name: "plaguposter_postgres" + restart: "unless-stopped" + environment: + POSTGRES_USER: "test" + POSTGRES_PASSWORD: "test" + POSTGRES_DB: "test" + volumes: + - "./db/:/var/lib/postgresql/data" + ports: + - "127.0.0.1:8091:5432" + plaguposter: + image: insanusmokrassar/plaguposter:latest + container_name: "plaguposter" + restart: "unless-stopped" + volumes: + - "./config.json:/config.json" + depends_on: + - "plaguposter_postgres"