aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yaml
blob: f60b052ddfb1f41fd262867308da7a42beccde6c (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
version: "3"
services:
  icanhazallips:
    image: icanhazallips
    build:
      context: .
    networks:
      - mainnet
    restart: unless-stopped
    ports:
      - target: 8080
        publish: 9380
        mode: host
    entrypoint: ["/icanhazallips/icanhazallips"]
    cap_drop:
      - ALL
    environment:
      - APP_ADDR=:8080
      - APP_CONTEXT_TIMEOUT=10
      - APP_READ_HEADER_TIMEOUT=3
      - APP_READ_TIMEOUT=5
      - APP_WRITE_TIMEOUT=5
      - APP_IDLE_TIMEOUT=5
networks:
  mainnet:
    driver: bridge