Advertisement
Guest User

Untitled

a guest
Dec 13th, 2016
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. db:
  2. image: mdillon/postgis:9.6
  3. ports:
  4. - "5432:5432"
  5. environment:
  6. POSTGRES_PASSWORD: temppasswd
  7. POSTGRES_USER: myuser
  8. POSTGRES_DB: mydb
  9. web:
  10. autoredeploy: true
  11. image: myapp/myapp_api:latest
  12. ports:
  13. - "80:8000"
  14. links:
  15. - db
  16. environment:
  17. DATABASE_NAME: mydb
  18. DATABASE_USER: myuser
  19. DATABASE_PASSWORD: temppasswd
  20. cron:
  21. autoredeploy: true
  22. image: myapp/myapp_api:latest
  23. links:
  24. - db
  25. command: cron -f -L 15
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement