-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
52 lines (47 loc) · 1.21 KB
/
docker-compose.yaml
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
51
52
version: '3.8'
services:
sui-swap-server:
image: sui-swap:0.1.0
environment:
RUST_LOG: info
ports:
- '8080:8080' # Mapea el puerto 8080 del contenedor al host
networks:
- my_network
sui-swap-client-1:
image: sui-swap:0.1.0
environment:
RUST_LOG: info
TOKEN_BALANCE_URL: 'https://coins.llama.fi/prices/current/sui:'
depends_on:
- sui-swap-server
entrypoint: >
/bin/sh -c 'sleep 5 && sui-swap -c ws://sui-swap-server:8080 SUI'
networks:
- my_network
sui-swap-client-2:
image: sui-swap:0.1.0
environment:
RUST_LOG: info
TOKEN_BALANCE_URL: 'https://coins.llama.fi/prices/current/sui:'
depends_on:
- sui-swap-server
entrypoint: >
/bin/sh -c 'sleep 5 && sui-swap -c ws://sui-swap-server:8080 FUD'
networks:
- my_network
sui-swap-client-3:
image: sui-swap:0.1.0
environment:
RUST_LOG: info
TOKEN_BALANCE_URL: 'https://coins.llama.fi/prices/current/sui:'
depends_on:
- sui-swap-server
entrypoint: >
/bin/sh -c 'sleep 5 && sui-swap -c ws://sui-swap-server:8080 AAA'
networks:
- my_network
networks:
my_network:
driver: bridge
internal: false