58 lines
1.2 KiB
YAML
58 lines
1.2 KiB
YAML
# https://docs.docker.com/compose/compose-file/
|
|
|
|
# 100.64.48.8/30 100.64.65.160/27
|
|
|
|
version: "3.8"
|
|
|
|
networks:
|
|
default:
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 100.64.48.8/30
|
|
console:
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 100.64.65.160/29
|
|
internal: true
|
|
hub:
|
|
external:
|
|
name: hb_hub_general_leaf
|
|
|
|
services:
|
|
general:
|
|
restart: unless-stopped
|
|
hostname: g3n3r4l.n3tw3rk.1ns3cur1ty.c0rp
|
|
build:
|
|
context: ../hybrid
|
|
dockerfile: Dockerfile
|
|
image: hybrid:latest
|
|
command: "/usr/local/ircd/bin/ircd -foreground -pidfile /dev/shm/ircd.pid -configfile /usr/local/ircd/etc/hb_conf/general.conf -logfile /dev/stdout"
|
|
environment:
|
|
LANG: en_US.utf8
|
|
TZ: UTC
|
|
ulimits:
|
|
nproc: 65535
|
|
nofile:
|
|
soft: 1024000
|
|
hard: 1024000
|
|
networks:
|
|
default:
|
|
ipv4_address: 100.64.48.10
|
|
console:
|
|
ipv4_address: 100.64.65.162
|
|
hub:
|
|
ipv4_address: 100.64.64.3
|
|
volumes:
|
|
- type: volume
|
|
source: ephemeral
|
|
target: /usr/local/ircd/var
|
|
volume:
|
|
nocopy: false
|
|
- ../config/hybrid:/usr/local/ircd/etc/hb_conf:ro
|
|
|
|
volumes:
|
|
ephemeral:
|
|
|