-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.separate.yml
More file actions
50 lines (47 loc) · 1.11 KB
/
docker-compose.separate.yml
File metadata and controls
50 lines (47 loc) · 1.11 KB
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
50
services:
ae-mdw:
image: aeternity/ae_mdw:latest
ports:
- "4000:4000"
- "4001:4001"
environment:
AE__CHAIN__PERSIST: "true"
AE__CHAIN__DB_PATH: /data/mnesia
volumes:
- mnesia_data:/data/mnesia
- mdw_data:/data/mdw.db
restart: unless-stopped
postgres:
image: postgres:16
ports:
- "5432:5432"
environment:
POSTGRES_USER: aesync
POSTGRES_PASSWORD: aesync
POSTGRES_DB: aesync
volumes:
- pg_data:/var/lib/postgresql/data
restart: unless-stopped
aesync:
build:
context: .
dockerfile: Dockerfile
target: builder
command: ["node", "packages/core/dist/esm/bin/aesync.js", "start"]
working_dir: /build
ports:
- "42069:42069"
environment:
DATABASE_URL: postgresql://aesync:aesync@postgres:5432/aesync
AE_MDW_URL: http://ae-mdw:4000
AE_MDW_WS_URL: ws://ae-mdw:4001/v3/websocket
depends_on:
ae-mdw:
condition: service_started
postgres:
condition: service_started
restart: unless-stopped
volumes:
mnesia_data:
mdw_data:
pg_data: