radicle-seed-node/docker-compose.yml

31 lines
657 B
YAML

services:
seed:
build:
context: .
dockerfile: seed.Dockerfile
args:
RAD_ALIAS: ${RAD_ALIAS}
RAD_PASSPHRASE: ${RAD_PASSPHRASE}
RAD_VERSION: ${SEED_VERSION}
RAD_ARCH: ${RAD_ARCH}
RAD_OS: ${RAD_OS}
ports:
- ${SEED_PORT}:8776
volumes:
- ${VOLUME_DIR}:/home/root/.radicle/
httpd:
build:
context: .
dockerfile: httpd.Dockerfile
args:
RAD_VERSION: ${DAEMON_VERSION}
RAD_ARCH: ${RAD_ARCH}
RAD_OS: ${RAD_OS}
depends_on:
- seed
ports:
- ${DAEMON_PORT}:8080
volumes:
- ${VOLUME_DIR}:/home/root/.radicle/