Advertisement
Guest User

Untitled

a guest
Jan 19th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. version: "3.0"
  2. services:
  3. icecast:
  4. image: moul/icecast
  5. volumes:
  6. - logs:/var/log/icecast2
  7. - /etc/localtime:/etc/localtime:ro
  8. ports:
  9. - 8000:8000
  10. postgres:
  11. image: 'postgres:9.6'
  12. environment:
  13. - PGDATA=/var/lib/postgresql/data/pgdata
  14. - POSTGRES_PASSWORD=
  15. - POSTGRES_USER=postgres
  16. networks:
  17. - default
  18. volumes:
  19. - 'postgres:/var/lib/postgresql/data'
  20. labels:
  21. description: "Postgresql Database"
  22. service: "postgresql"
  23. redis:
  24. image: redis
  25. ports:
  26. - 6379:6379
  27. volumes:
  28. - 'redis:/data'
  29. command: redis-server --appendonly yes
  30. web:
  31. build:
  32. context: "./"
  33. dockerfile: Dockerfile-development
  34. volumes:
  35. - .:/src
  36. env_file:
  37. - './src/.env'
  38. environment:
  39. - REDIS-URL=redis://redis:6379/
  40. - POSTGRES-URL=postgres://postgres:5432/
  41. depends_on:
  42. - redis
  43. - postgres
  44. - icecast
  45. ports:
  46. - "3000:3000"
  47. volumes:
  48. redis:
  49. postgres:
  50. logs:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement