File: docker-compose.yaml

package info (click to toggle)
pyrate-limiter 4.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,120 kB
  • sloc: python: 3,223; makefile: 21
file content (26 lines) | stat: -rw-r--r-- 630 bytes parent folder | download
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
services:
  redis-master:
    image: redis:7
    command: ["redis-server","--appendonly","yes","--requirepass","changeme"]
    ports: ["6379:6379"]
    networks: [pyrate-bay]

  redis-slave:
    image: redis:7
    command: ["redis-server","--replicaof","redis-master","6379","--masterauth","changeme","--requirepass","changeme"]
    ports: ["6380:6379"]
    networks: [pyrate-bay]

  postgres:
    image: postgres:18
    ports:
      - "5432:5432"
    environment:
      - POSTGRES_PASSWORD=postgres
    command: ["postgres","-c","max_connections=1000"]
    networks:
      - pyrate-bay

networks:
  pyrate-bay:
    driver: bridge