Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. version: '3.1'
  2.  
  3. services:
  4. postgres:
  5. image: postgres@{postgres-image-hash}
  6. restart: always
  7. environment:
  8. POSTGRES_USER: {postgres-user}
  9. POSTGRES_PASSWORD: {postgres-password}
  10. POSTGRES_DB: {postgres-db}
  11. volumes:
  12. - ./schemes:/docker-entrypoint-initdb.d
  13. redis:
  14. image: redis@{redis-image-hash}
  15. restart: always
  16. ports:
  17. - 6379:6379
  18. {app-name}:
  19. depends_on:
  20. - redis
  21. - postgres
  22. build: .
  23. ports:
  24. - 8082:8082
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement