From 234027e7d37a660098c3d11ab5997f26b562214d Mon Sep 17 00:00:00 2001 From: Kostas Kolivas Date: Wed, 20 Sep 2023 16:39:52 +0300 Subject: [PATCH] Add a trivial docker-compose It does not create a container for the processor itself, simply the required services (Postgres, Redis) Ref #6 --- docker-compose.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..89ea37e --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,25 @@ +version: '3' + +services: + redis: + image: redis + container_name: redis-server + ports: + - "6379:6379" + networks: + - my_network + + postgres: + image: postgres + container_name: postgres-server + environment: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: infobserve + POSTGRES_DB: infobserve + ports: + - "5432:5432" + networks: + - my_network + +networks: + my_network: