Open NimzyMaina opened 5 years ago
@NimzyMaina the detail of the RabbitMQ Dockerfile
is not so important for the tutorial. As a workaround, you could modify the docker-compose.yml
file to pull rabbitmq:latest
directly from Docker Hub, i.e.:
version: "3.2"
services:
rabbitmq-server:
image: rabbitmq:latest
python-service:
build: ./python-service
# 'rabbitmq-server' will be available as a network reference inside this service
# and this service will start only after the RabbitMQ service has.
depends_on:
- rabbitmq-server
# Keep it running.
tty: true
# Map port 3000 on the host machine to port 3000 of the container.
ports:
- "3000:3000"
volumes:
- './python-service:/python-service'
go-service:
build: ./go-service
depends_on:
- rabbitmq-server
tty: true
volumes:
- './go-service:/go-service'
# Host volumes used to store code.
volumes:
python-service:
go-service:
I had issues with gpg key failing :
gpg: keyserver receive failed: Cannot assign requested address
The solution that looks like it works is here: https://github.com/tianon/gosu/issues/35
I just did host ha.pool.sks-keyservers.net
and pulled an ip address there to replace.
I also had issues with it saying the mount failed and that it was not recognized by docker. This solved the issue: https://github.com/localstack/localstack/issues/480
When building the image I get the following error. Kindly assist.
Kind regards