Advertisement
Guest User

Untitled

a guest
May 30th, 2015
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. # This shows the setup for two services, an accounts service which connects to a database and a pagerduty service which connects to the pagerduty api
  2. # Directory structure
  3. accounts/
  4. |_ Dockerfile
  5. pagerduty/
  6. |_ Dockerfile
  7. nginx/
  8. |_ conf/
  9. |_ sites.conf
  10. |_ .htpasswd
  11. |_ Dockerfile
  12. docker-compose.yml
  13.  
  14. # You can start your service with
  15. PAGERDUTY_TOKEN={TOKEN} docker-compose up -d
  16.  
  17. # Stop services
  18. docker-compose stop
  19.  
  20. # Rebuild service(s)
  21. docker-compose build
  22. docker-compose build accounts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement