Browse Source

added tracker container

master
nkls 2 months ago
parent
commit
7684fb695c
4 changed files with 44 additions and 6 deletions
  1. BIN
      .Dockerfile.tracker.swp
  2. +1
    -1
      Dockerfile.peer
  3. +23
    -0
      Dockerfile.tracker
  4. +20
    -5
      docker-compose.yml

BIN
.Dockerfile.tracker.swp View File


Dockerfile → Dockerfile.peer View File


+ 23
- 0
Dockerfile.tracker View File

@ -0,0 +1,23 @@
FROM debian:buster-slim
RUN apt update -y && apt upgrade -y
#RUN apt install -y git wget build-essential nano bison python3 linux-perf
RUN apt install -y git build-essential cvs zlib1g-dev nano nmap iputils-ping
RUN mkdir /code
WORKDIR /code
RUN cvs -d :pserver:cvs@cvs.fefe.de:/cvs -z9 co libowfat
WORKDIR /code/libowfat
RUN make
WORKDIR /code
RUN git clone git://erdgeist.org/opentracker
WORKDIR /code/opentracker
RUN make
WORKDIR /
ENTRYPOINT /code/opentracker/opentracker

+ 20
- 5
docker-compose.yml View File

@ -4,7 +4,7 @@ services:
peer1.pep.example:
build:
context: .
dockerfile: Dockerfile
dockerfile: Dockerfile.peer
container_name: peer1.pep.example
volumes:
- ./logs:/logs
@ -20,7 +20,7 @@ services:
peer2.pep.example:
build:
context: .
dockerfile: Dockerfile
dockerfile: Dockerfile.peer
container_name: peer2.pep.example
volumes:
- ./logs:/logs
@ -36,7 +36,7 @@ services:
peer3.pep.example:
build:
context: .
dockerfile: Dockerfile
dockerfile: Dockerfile.peer
container_name: peer3.pep.example
volumes:
- ./logs:/logs
@ -52,7 +52,7 @@ services:
peer4.pep.example:
build:
context: .
dockerfile: Dockerfile
dockerfile: Dockerfile.peer
container_name: peer4.pep.example
volumes:
- ./logs:/logs
@ -68,7 +68,7 @@ services:
peer5.pep.example:
build:
context: .
dockerfile: Dockerfile
dockerfile: Dockerfile.peer
container_name: peer5.pep.example
volumes:
- ./logs:/logs
@ -79,7 +79,22 @@ services:
networks:
localnet:
ipv4_address: 10.42.1.15
restart: "no"
tracker.pep.example:
build:
context: .
dockerfile: Dockerfile.tracker
container_name: tracker.pep.example
volumes:
- ./logs:/logs
- ./scripts:/scripts
- ./tinker:/tinker
tty: true
command: tail -F /logs/output.log
networks:
localnet:
ipv4_address: 10.42.1.20
restart: "no"
networks:


Loading…
Cancel
Save