aboutsummaryrefslogblamecommitdiffstats
path: root/docker-compose.yaml
blob: 54ae340f3fd1d58abb9f9d0694623ed1e3de0195 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                           
                    
                       
                  


                                                






                                 


                  
version: "3"
services:
  icanhazallips:
    image: icanhazallips
    build:
      context: .
    networks:
      - mainnet
    restart: unless-stopped
    ports:
      - target: 8080
        published: 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