-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (30 loc) · 920 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (30 loc) · 920 Bytes
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
version: "3.2"
services:
dev:
container_name: clover
image: paritytech/ci-linux:production
working_dir: /var/www/clover
ports:
- "9944:9944"
environment:
- CARGO_HOME=/var/www/clover/.cargo
volumes:
- .:/var/www/clover
- type: bind
source: ./.local
target: /root/.local
command: bash -c "cargo build --release && ./target/release/clover --dev --ws-external"
build:
container_name: clover-build
image: cloverio/ci-linux-production:nightly-0629
working_dir: /var/www/clover
ports:
- "9944:9944"
environment:
- CARGO_HOME=/var/www/clover/.cargo
volumes:
- .:/var/www/clover
- type: bind
source: ./.local
target: /root/.local
command: bash -c "rm -rf target_linux && mkdir target_linux && cargo build --release --features $CLOVER_NETWORK && cp ./target/release/clover target_linux"