Hi,
sorry for my very n00b question.
I am using docker-compose in a local environment to get ready with the integration Inspircd+Anope+MySQL/SqlLite described here: https://hub.docker.com/r/anope/anope
Docker version 19.03.2
docker-compose version 1.21.0
I get an error when entering: docker-compose up -d
Pulling inspircd (inspircd/inspircd-docker:)...
latest: Pulling from inspircd/inspircd-docker
Digest: sha256:740f93c472557bb09800501faa5b0e819fe4acac9078e4103be89d036237f8a0
Status: Downloaded newer image for inspircd/inspircd-docker:latest
Pulling database (mysql:latest)...
latest: Pulling from library/mysql
Digest: sha256:6d95fa56e008425121e24d2c01b76ebbf51ca1df0bafb1edbe1a46937f4a149d
Status: Downloaded newer image for mysql:latest
Building services
Cannot locate specified Dockerfile: Dockerfile
Below my current docker-compose.yml. It’s based on the one linked on the example linked in the guide (https://github.com/Adam-/anope-docker/blob/master/examples/docker-compose.yml) which is also not working for me.
version: '2'
services:
inspircd:
image: inspircd/inspircd-docker
volumes:
- "./volume/inspircd/conf/:/inspircd/conf/"
- "./volume/inspircd/logs/:/inspircd/logs/"
- "./volume/inspircd/data/:/data/"
#environment:
# - "INSP_SERVICES_PASSWORD=password"
# - "INSP_SERVICES_NAME=services.example.com"
ports:
- "56667:56667"
- "56697:56697"
services:
image: anope:testing
build:
context: ..
args:
- "VERSION=2.0.6"
environment:
- "ANOPE_SERVICES_NAME=services.example.com"
- "ANOPE_UPLINK_IP=inspircd"
- "ANOPE_UPLINK_PASSWORD=password"
# comment the lines below to use sqlite instead
- "ANOPE_SQL_ENGINE=mysql"
- "ANOPE_MYSQL_PASSWORD=anope"
depends_on:
- inspircd
- database
database:
image: mysql:latest
volumes:
- "./db:/var/lib/mysql"
environment:
- "MYSQL_RANDOM_ROOT_PASSWORD=yes"
- "MYSQL_USER=anope"
- "MYSQL_PASSWORD=anope"
- "MYSQL_DATABASE=anope"
Do you have any idea? Thanks in advance.