docker-hybrid/hb_edge/docker-compose.yml
2020-11-09 21:44:57 +00:00

56 lines
1.2 KiB
YAML

# https://docs.docker.com/compose/compose-file/
# 100.64.48.12/30 100.64.65.192/27
version: "3.8"
networks:
default:
ipam:
driver: default
config:
- subnet: 100.64.48.12/30
console:
ipam:
driver: default
config:
- subnet: 100.64.65.192/29
hub:
external:
name: hb_hub_edge_hub
services:
edge:
restart: unless-stopped
hostname: 3dg3.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/edge.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.14
console:
ipv4_address: 100.64.65.195
hub:
ipv4_address: 100.64.64.27
volumes:
- type: volume
source: ephemeral
target: /usr/local/ircd/var
volume:
nocopy: false
- ../config/hybrid:/usr/local/ircd/etc/hb_conf:ro
volumes:
ephemeral: