docker-hybrid/hb_operserv/docker-compose.yml

54 lines
1.1 KiB
YAML
Raw Normal View History

2020-11-09 21:03:29 +00:00
# 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:
2021-02-13 22:23:05 +00:00
- subnet: 100.64.1.16/30
2020-11-09 21:03:29 +00:00
hub:
external:
2021-06-25 23:26:57 +00:00
name: hb_hub_operserv
redis:
2020-11-09 21:03:29 +00:00
external:
2021-06-25 23:26:57 +00:00
name: hb_redis_anope
2020-11-09 21:03:29 +00:00
services:
2021-06-26 14:49:53 +00:00
operserv:
2020-11-09 21:03:29 +00:00
restart: unless-stopped
2021-06-25 23:26:57 +00:00
hostname: 0p3rs3rv.n3tw3rk.1ns3cur1ty.c0rp
2020-11-09 21:03:29 +00:00
build:
context: ../hybrid
dockerfile: Dockerfile
2021-06-25 23:26:57 +00:00
image: anope/anope:2.0.8
2020-11-09 21:03:29 +00:00
environment:
LANG: en_US.utf8
TZ: UTC
ulimits:
nproc: 65535
nofile:
soft: 1024000
hard: 1024000
networks:
default:
2021-02-13 22:23:05 +00:00
ipv4_address: 100.64.1.18
2020-11-09 21:03:29 +00:00
hub:
ipv4_address: 100.64.64.59
2021-06-25 23:26:57 +00:00
redis:
ipv4_address: 100.64.64.132
volumes:
2020-11-09 21:03:29 +00:00
- type: volume
source: ephemeral
2021-06-25 23:26:57 +00:00
target: /anope/data
2020-11-09 21:03:29 +00:00
volume:
nocopy: false
2021-06-25 23:26:57 +00:00
- ../config/anope/services.oper.conf:/anope/conf/services.conf:ro
- ../config/anope/services.motd:/anope/conf/services.motd:ro
2020-11-09 21:03:29 +00:00
volumes:
ephemeral: