commit b17ddb6a3cd1869656b965dbfb0f2bed6cf6be50 Author: julien Date: Tue Jan 14 17:38:05 2025 +0100 first commit 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