forked from pEp.foundation/pygnunetrest
parent
b77874ce27
commit
4cea94f1fa
@ -0,0 +1,29 @@
|
||||
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
|
@ -0,0 +1,7 @@
|
||||
|
||||
[rest]
|
||||
BIND_TO = 0.0.0.0
|
||||
BIND_TO6 = ::
|
||||
# IMMEDIATE_START = YES
|
||||
# HTTP_PORT = 7771
|
||||
# RUN_PER_USER = YES
|
Loading…
Reference in new issue