aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
blob: ed54b7b8b808b37e456cfde3ec8e28534daafb04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Usage:
#   Install: docker 18.03 or higher
#   install: docker-compose 1.21.1 or higher
#   run: docker-compose up -d
#   wait for the containers to be up
#   confirm their ports are listening on the following ports: 5672, 28015

version: '3'
services:
  pdrmq:
    hostname: "pdrmq"
    image: pythondiscord/rmq:latest
    network_mode: "host"
    environment:
      RABBITMQ_DEFAULT_USER: guest
      RABBITMQ_DEFAULT_PASS: guest

  pdrdb:
    hostname: "pdrdb"
    image: pythondiscord/db:latest
    volumes:
      - "rdb:/data"
    entrypoint: su-exec daemon:daemon rethinkdb -n pdrdb -d /data --bind 0.0.0.0 --server-tag default --http-port 28010 --driver-port 28015
    network_mode: "host"

volumes:
    rdb:
    web: