Advertisement
Guest User

docker-compose

a guest
Apr 5th, 2016
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. version: "2"
  2.  
  3. services:
  4. postgres:
  5. image: postgres
  6. container_name: db
  7. ports:
  8. - 5432:5432
  9. environment:
  10. POSTGRES_PASSWORD: xxxx
  11. POSTGRES_USER: xxxx
  12. POSTGRES_DB: xxxx
  13. beego:
  14. build: beego
  15. container_name: beego
  16. volumes:
  17. - xxxxx
  18. links:
  19. - postgres:postgres
  20. command: bee run
  21. nginx:
  22. build: nginx_beego
  23. container_name: nginx_beego
  24. links:
  25. - beego:beego
  26. ports:
  27. - 80:80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement