summaryrefslogtreecommitdiff
path: root/dev/docker-compose.yml
blob: 673f7cd58495c7061e5b75cb6fcc776f0e43b9ed (plain)
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
version: '3.7'

services:
  redis:
    image: redis:6

  roadrunner:
    container_name: roadrunner
    environment:
      - GOGC=100
    ulimits:
      nofile:
        soft: 65000
        hard: 65000
      mem_limit: 1024
      cpus: 1
    restart: always
    build:
      context: .
      dockerfile: Dockerfile.local
    command: "serve -c /etc/rr-docker.yaml -d"
    ports:
      - "15395:15395"
      - "6061:6061"
      - "6001:6001"