Skip to content

Commit

Permalink
chore: replace node with middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed May 21, 2023
1 parent 0dcf36c commit 3fe69b0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
NODE_TAG=v6.8.1
COMPILER_TAG=v7.2.0
MIDDLEWARE_TAG=1.47.0
14 changes: 9 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
version: '3'
services:
node:
image: aeternity/aeternity:${NODE_TAG}
middleware:
image: aeternity/ae_mdw:${MIDDLEWARE_TAG}
hostname: node
ports: ["3013:3013", "3113:3113", "3014:3014", "3114:3114"]
ports: ["3013:3013", "3113:3113", "3014:3014", "3114:3114", "4000:4000", "4001:4001"]
volumes:
- ./docker/aeternity_node_mean16.yaml:/home/aeternity/node/aeternity.yaml
- ./docker/accounts_test.json:/home/aeternity/node/data/aecore/.genesis/accounts_test.json
- ./docker/aeternity_node_mean16.yaml:/home/aeternity/aeternity.yaml
- ./docker/accounts_test.json:/home/aeternity/node/local/rel/aeternity/data/aecore/.genesis/accounts_test.json
# remove after fixing https://github.com/aeternity/ae_mdw/issues/1281
- ./docker/mdw.db:/home/aeternity/node/local/rel/aeternity/data/mdw.db
environment:
AETERNITY_CONFIG: /home/aeternity/aeternity.yaml

compiler:
image: aeternity/aesophia_http:${COMPILER_TAG}
Expand Down
3 changes: 1 addition & 2 deletions docker/aeternity_node_mean16.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
peers: []

http:
Expand Down Expand Up @@ -35,4 +34,4 @@ mining:
edge_bits: 15

fork_management:
network_id: "ae_devnet"
network_id: "ae_mainnet"

0 comments on commit 3fe69b0

Please sign in to comment.