From b17ddb6a3cd1869656b965dbfb0f2bed6cf6be50 Mon Sep 17 00:00:00 2001 From: julien Date: Tue, 14 Jan 2025 17:38:05 +0100 Subject: [PATCH] first commit --- .env | 2 ++ .gitignore | 1 + README.md | 1 + compose.yml | 18 ++++++++++++++++++ 4 files changed, 22 insertions(+) create mode 100644 .env create mode 100644 .gitignore create mode 100644 README.md create mode 100644 compose.yml diff --git a/.env b/.env new file mode 100644 index 0000000..5353f6c --- /dev/null +++ b/.env @@ -0,0 +1,2 @@ +REDIS_PORT_6379_TCP_ADDR=calcnetignet_redis +REDIS_PORT_6379_TCP_PORT=6379 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57d9655 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +volumes/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..b3e866c --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# calc.netig.net \ No newline at end of file diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..c65f962 --- /dev/null +++ b/compose.yml @@ -0,0 +1,18 @@ +services: + redis: + image: redis:latest + container_name: calcnetignet_redis + volumes: + - ./volumes/redis:/data + command: redis-server --appendonly yes + restart: unless-stopped + ethercalc: + image: audreyt/ethercalc-4.8:latest + container_name: calcnetignet_ethercalc + depends_on: + - redis + env_file: + - .env + ports: + - "127.0.0.1:9004:8000" + restart: unless-stopped