pygnunetrest/docker-compose.yml

30 lines
701 B
YAML

version: "3"
services:
gnunet:
build:
context: .
image: registry.gitlab.com/juga0/gnunet:latest
container_name: gnunet
# Copy a gnunet.conf that enable REST in all interfaces into ./tmp
volumes:
- ./tmp:/home/gnunet/.config
# expose REST port to gnunetrest container
expose:
- 7776
restart: unless-stopped
gnunetrest:
build:
context: .
image: ${RELEASE_IMAGE:-gnunet-docker}
environment:
- HOST=gnunet
command: pytest-3 tests
container_name: gnunetrest
volumes:
- .:/home/gnunet/pygnunetrest
restart: unless-stopped
depends_on:
- gnunet