Advertisement
Guest User

docker-compose.yml

a guest
May 21st, 2025
76
0
27 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.73 KB | None | 0 0
  1. name: npm
  2. services:
  3.   npm:
  4.     container_name: npm
  5.     image: jc21/nginx-proxy-manager:latest
  6.     restart: unless-stopped
  7.     network_mode: "host"
  8.  
  9.     volumes:
  10.      - ./data:/data
  11.       - ./letsencrypt:/etc/letsencrypt
  12.  
  13.       - ./etc/nginx/conf.d/include/proxy.conf:/etc/nginx/conf.d/include/proxy.conf
  14.  
  15.     environment:
  16.       DISABLE_IPV6: true
  17.       X_FRAME_OPTIONS: sameorigin
  18.  
  19.     healthcheck:
  20.       test: [ "CMD", "/usr/bin/check-health" ]
  21.       interval: 10s
  22.       timeout: 3s
  23.  
  24.  
  25.   whoami:
  26.     container_name: whoami
  27.     image: traefik/whoami
  28.  
  29.     ports:
  30.      - "2001:2001"
  31.  
  32.     command:
  33.      - --port=2001
  34.       - --verbose=true
  35.  
  36.     networks:
  37.       whoami:
  38.  
  39. networks:
  40.   whoami:
  41.     name: whoami
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement