Files
ark/docker-compose.yml
Louis Singer ffcf08420f Add built-in cli to docker container (#114)
* add -faucet flag in scripts/build

* localhost guard on Faucet request

* add ark cli into docker image

* "BUILD_FLAG" => "BUILD_ARGS", "-faucet" => "with-faucet"

* [docker] use alpine:3.14 instead of debian

* Revert changes

* Expose docker volume for embedded wallet datadir

---------

Co-authored-by: altafan <18440657+altafan@users.noreply.github.com>
2024-02-20 17:28:08 +01:00

50 lines
998 B
YAML

version: "3.7"
services:
oceand:
container_name: oceand
image: ghcr.io/vulpemventures/oceand:latest
restart: unless-stopped
environment:
- OCEAN_LOG_LEVEL=5
- OCEAN_NO_TLS=true
- OCEAN_NO_PROFILER=true
- OCEAN_ELECTRUM_URL=ssl://blockstream.info:465
- OCEAN_NETWORK=testnet
- OCEAN_UTXO_EXPIRY_DURATION_IN_SECONDS=60
- OCEAN_DB_TYPE=badger
ports:
- "18000:18000"
volumes:
- oceand:/app/data/oceand
- ocean:/app/data/ocean
arkd:
container_name: arkd
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
depends_on:
- oceand
environment:
- ARK_WALLET_ADDR=oceand:18000
- ARK_ROUND_INTERVAL=10
ports:
- "6000:6000"
volumes:
- arkd:/app/data
- ark:/app/wallet-data
volumes:
oceand:
external: false
ocean:
external: false
arkd:
external: false
ark:
external: false
networks:
default:
name: ark