From 8ab8c797c7ae1834e206c3ec1f8baaef7f9dd994 Mon Sep 17 00:00:00 2001 From: thiscaspar Date: Thu, 5 Dec 2024 10:50:45 +0800 Subject: [PATCH] streamline web configuration (use deployments json) --- Dockerfile | 2 +- docker/.env.example | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index c889f1b..4dae226 100644 --- a/Dockerfile +++ b/Dockerfile @@ -110,7 +110,7 @@ RUN \ # Stage 2: Put the webapp files in place -FROM ghcr.io/pixelaw/web:0.3.11 AS web +FROM ghcr.io/pixelaw/web:0.5.2 AS web FROM ghcr.io/pixelaw/server:0.5.0 AS server diff --git a/docker/.env.example b/docker/.env.example index 630f4b2..52c330a 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -1,10 +1,2 @@ -RPC_URL=http://localhost:5050 -TORII_URL=http://localhost:8080 -RELAY_URL=http://localhost:8080 -SERVER_URL=http://localhost:3000 -MASTER_ADDRESS=0x003c4dd268780ef738920c801edc3a75b6337bc17558c74795b530c0ff502486 -MASTER_PRIVATE_KEY=0x2bbf4f9fd0bbb2e60b0316c1fe0b76cf7a4d0198bd493ced9b8df2a3a24d68a -WORLD_ADDRESS=0x00a712727a27defbf77122fae30c91e90ec62bba8f09a2a396eddc29b768386b -ACCOUNT_CLASS_HASH=0x05400e90f7e0ae78bd02c77cd75527280470e2fe19c54970dd79dc37a9d3645c -FEETOKEN_ADDRESS=0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7 -SERVER_PORT=3000 +DEPLOYMENT=local +DEPLOYMENTS_URL=https://raw.githubusercontent.com/pixelaw/config/refs/heads/main/web.config.json