Advertisement
Guest User

Untitled

a guest
Apr 28th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. version: "3.1"
  2.  
  3. services:
  4. db:
  5. image: postgres:9.4
  6. restart: always
  7. ports:
  8. - 5444:5432
  9. environment:
  10. POSTGRES_USER: flectra
  11. POSTGRES_PASSWORD: flectra
  12. volumes:
  13. - pg-flectra:/var/lib/postgresql/data
  14.  
  15. flectra:
  16. image: flectrahq/flectra
  17. restart: always
  18. ports:
  19. - 7073:7073
  20. environment:
  21. - HOST=db
  22. - PORT=5432
  23. - USER=flectra
  24. - PASSWORD=flectra
  25. # volumes:
  26. # - /path/to/config:/etc/flectra
  27. # - /path/to/addons:/mnt/extra-addons
  28. depends_on:
  29. - db
  30.  
  31. volumes:
  32. pg-flectra:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement