services: anope: restart: on-failure:3 build: context: . args: BUILD_SERVER_NAME: ${SERVER_NAME} image: anope network_mode: "host" env_file: "config.env" volumes: - ./custom:/etc/anope/custom:ro - data:/var/lib/anope - ./include.conf:/etc/anope/include.conf:ro - log:/var/log/anope volumes: data: name: anope_data log: name: anope_log