Browse Source

added composition with 5 torrent peers

master
nkls 1 year ago
parent
commit
1aa7a1ba0f
5 changed files with 89 additions and 0 deletions
  1. BIN
      .docker-compose.yml.swp
  2. +86
    -0
      docker-compose.yml
  3. +3
    -0
      entrypoint.sh
  4. BIN
      linuxmint-19-cinnamon-32bit.iso.torrent
  5. +0
    -0
      logs/output.log

BIN
.Dockerfile.swp → .docker-compose.yml.swp View File


+ 86
- 0
docker-compose.yml View File

@ -0,0 +1,86 @@
version: '3'
services:
peer1.pep.example:
build:
context: .
dockerfile: Dockerfile
container_name: peer1.pep.example
volumes:
- ./logs:/logs
- ./scripts:/scripts
tty: true
command: tail -F /logs/output.log
networks:
localnet:
ipv4_address: 10.42.1.11
restart: "no"
peer2.pep.example:
build:
context: .
dockerfile: Dockerfile
container_name: peer2.pep.example
volumes:
- ./logs:/logs
- ./scripts:/scripts
tty: true
command: tail -F /logs/output.log
networks:
localnet:
ipv4_address: 10.42.1.12
restart: "no"
peer3.pep.example:
build:
context: .
dockerfile: Dockerfile
container_name: peer3.pep.example
volumes:
- ./logs:/logs
- ./scripts:/scripts
tty: true
command: tail -F /logs/output.log
networks:
localnet:
ipv4_address: 10.42.1.13
restart: "no"
peer4.pep.example:
build:
context: .
dockerfile: Dockerfile
container_name: peer4.pep.example
volumes:
- ./logs:/logs
- ./scripts:/scripts
tty: true
command: tail -F /logs/output.log
networks:
localnet:
ipv4_address: 10.42.1.14
restart: "no"
peer5.pep.example:
build:
context: .
dockerfile: Dockerfile
container_name: peer5.pep.example
volumes:
- ./logs:/logs
- ./scripts:/scripts
tty: true
command: tail -F /logs/output.log
networks:
localnet:
ipv4_address: 10.42.1.15
restart: "no"
networks:
localnet:
internal: true
ipam:
driver: default
config:
- subnet: 10.42.1.0/24

+ 3
- 0
entrypoint.sh View File

@ -0,0 +1,3 @@
#!/bin/bash
/bin/bash

BIN
linuxmint-19-cinnamon-32bit.iso.torrent View File


+ 0
- 0
logs/output.log View File


Loading…
Cancel
Save