Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. version: '2'
  2.  
  3. services:
  4. mongodb:
  5. image: 'bitnami/mongodb:latest'
  6.  
  7. network_mode: "host"
  8.  
  9. volumes:
  10. - /bitnami/mongo:/bitnami
  11.  
  12. ports:
  13. - "127.0.0.1:27017:27017"
  14.  
  15. environment:
  16. - MONGODB_ROOT_PASSWORD=password123
  17.  
  18. redis:
  19. image: 'bitnami/redis:latest'
  20.  
  21. network_mode: "host"
  22.  
  23. volumes:
  24. - /bitnami/redis:/bitnami
  25.  
  26. ports:
  27. - '127.0.0.1:6379:6379'
  28.  
  29. environment:
  30. - REDIS_PASSWORD=password123
  31.  
  32. main:
  33. build: .
  34.  
  35. network_mode: "host"
  36.  
  37. ports:
  38. - "127.0.0.1:8080:8080"
  39.  
  40. volumes:
  41. - .:/code
  42. - /settings:/go/settings/
  43.  
  44. Active Internet connections (only servers)
  45. Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
  46. tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN 2774/nginx: worker
  47. tcp 0 0 0.0.0.0:27017 0.0.0.0:* LISTEN 3224/mongod
  48. tcp 0 0 0.0.0.0:6379 0.0.0.0:* LISTEN 3097/redis-server 0
  49. tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2774/nginx: worker
  50. tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 29048/sshd
  51. tcp6 0 0 :::22 :::* LISTEN 29048/sshd
  52. tcp6 0 0 :::8000 :::* LISTEN 3282/code
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement