54 lines
1.1 KiB
YAML
54 lines
1.1 KiB
YAML
# https://docs.docker.com/compose/compose-file/
|
|
|
|
# 100.64.0.16/30 100.64.66.0/27
|
|
|
|
version: "3.8"
|
|
|
|
networks:
|
|
default:
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 100.64.1.16/30
|
|
hub:
|
|
external:
|
|
name: hb_hub_operserv
|
|
redis:
|
|
external:
|
|
name: hb_redis_anope
|
|
|
|
services:
|
|
operserv:
|
|
restart: unless-stopped
|
|
hostname: 0p3rs3rv.n3tw3rk.1ns3cur1ty.c0rp
|
|
build:
|
|
context: ../hybrid
|
|
dockerfile: Dockerfile
|
|
image: anope/anope:2.0.8
|
|
environment:
|
|
LANG: en_US.utf8
|
|
TZ: UTC
|
|
ulimits:
|
|
nproc: 65535
|
|
nofile:
|
|
soft: 1024000
|
|
hard: 1024000
|
|
networks:
|
|
default:
|
|
ipv4_address: 100.64.1.18
|
|
hub:
|
|
ipv4_address: 100.64.64.59
|
|
redis:
|
|
ipv4_address: 100.64.64.132
|
|
volumes:
|
|
- type: volume
|
|
source: ephemeral
|
|
target: /anope/data
|
|
volume:
|
|
nocopy: false
|
|
- ../config/anope/services.oper.conf:/anope/conf/services.conf:ro
|
|
- ../config/anope/services.motd:/anope/conf/services.motd:ro
|
|
|
|
volumes:
|
|
ephemeral:
|