Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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
- # Directory structure
- accounts/
- |_ Dockerfile
- pagerduty/
- |_ Dockerfile
- nginx/
- |_ conf/
- |_ sites.conf
- |_ .htpasswd
- |_ Dockerfile
- docker-compose.yml
- # You can start your service with
- PAGERDUTY_TOKEN={TOKEN} docker-compose up -d
- # Stop services
- docker-compose stop
- # Rebuild service(s)
- docker-compose build
- docker-compose build accounts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement