version: "3.2" services: rabbitmq: image: rabbitmq:3-management-alpine container_name: 'rabbitmq' ports: - 5672:5672 - 15672:15672 volumes: - ~/.docker-conf/rabbitmq/data/:/var/lib/rabbitmq/ - ~/.docker-conf/rabbitmq/log/:/var/log/rabbitmq postgres: image: postgres:13 container_name: 'postgres' environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: loggable_activity_dev ports: - 5432:5432 volumes: - pgdata:/var/lib/postgresql/data volumes: pgdata: driver: local