Advertisement
joelkolb

Untitled

Dec 23rd, 2020
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. # Use postgres/example user/password credentials
  2. version: '3.1'
  3.  
  4. services:
  5.  
  6. db:
  7. image: postgres
  8. container_name: postgres:11
  9. restart: always
  10. environment:
  11. POSTGRES_PASSWORD: example
  12. networks:
  13. - shared
  14.  
  15. adminer:
  16. image: adminer
  17. container_name: adminer
  18. restart: always
  19. ports:
  20. - 8888:8080
  21. networks:
  22. - shared
  23.  
  24. redis:
  25. image: redis
  26. container_name: redis
  27. networks:
  28. - shared
  29.  
  30. netbox:
  31. image: ghcr.io/linuxserver/netbox
  32. container_name: netbox
  33. environment:
  34. - PUID=1000
  35. - PGID=1000
  36. - SUPERUSER_EMAIL=admin@netbox.local
  37. - SUPERUSER_PASSWORD=password
  38. - ALLOWED_HOST=mynetbox.local
  39. - DB_USER=netbox
  40. - DB_PASSWORD=password
  41. - TZ=America/New_York
  42. volumes:
  43. - /home/ubuntu/.config/appdata/netbox:/config
  44. ports:
  45. - 8000:8000
  46. restart: unless-stopped
  47. depends_on:
  48. - db
  49. - redis
  50. networks:
  51. - shared
  52.  
  53. networks:
  54. shared:
  55. driver: bridge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement