forked from aeternity/ae_mdw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
49 lines (49 loc) · 1.76 KB
/
docker-compose-dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
services:
ae_mdw:
build:
context: .
dockerfile: ./Dockerfile
args:
RUNNER_IMAGE: "hexpm/elixir:1.17.3-erlang-26.2.5.3-debian-bullseye-20240926-slim"
USER: root
MIX_ENV: dev
PATH_PREFIX: "/v3"
image: aeternity/ae_mdw_dev${IMAGE_NAME_SUFFIX:-}:latest
ports:
- "4000:4000" #MDW's default port
- "4001:4001" #MDW's websocket default port
- "3113:3113" #Node's default internal API port
- "3013:3013" #Node's default external API port
- "3014:3014" #Node's channels default websocket port
volumes:
- ${PWD}/data/mnesia:/home/aeternity/node/local/rel/aeternity/data/mnesia
- ${PWD}/data/mdw.db:/home/aeternity/node/local/rel/aeternity/data/mdw.db
- ${PWD}/docker/aeternity.yaml:/home/aeternity/aeternity.yaml
- ${PWD}/docker/aeternity-dev.yaml:/home/aeternity/aeternity-dev.yaml
- ${PWD}/docker/accounts.json:/home/aeternity/node/local/rel/aeternity/data/aecore/.genesis/accounts_test.json
- ${PWD}/priv:/home/aeternity/node/ae_mdw/priv
- ${PWD}:/app
- ${PWD}/docker/gitconfig:/root/.gitconfig
- ${PWD}/.bash_history:/root/.bash_history
- ${PWD}/.erlang_history:/root/.erlang_history
environment:
- AETERNITY_CONFIG=${AETERNITY_CONFIG:-/home/aeternity/aeternity.yaml}
- HIST_FILE=/root/.bash_history
- ELIXIR_ERL_OPTIONS=-kernel shell_history enabled -kernel shell_history_path '.erlang_history'
- ENABLE_CONSOLE_LOG=true
networks:
ae_mdw_net:
aliases:
- mdw.aeternity.localhost
node_sdk:
image: node:20-alpine
working_dir: /app
volumes:
- ${PWD}/node_sdk:/app
entrypoint: ""
networks:
- ae_mdw_net
networks:
ae_mdw_net:
name: ae_mdw_net
driver: bridge