You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
463 B

  1. version: '3'
  2. services:
  3. postgres:
  4. image: postgres
  5. environment:
  6. POSTGRES_USER: 'creativeTim'
  7. POSTGRES_PASSWORD: 'creativeTim'
  8. ports:
  9. - 5432:5432
  10. volumes:
  11. - postgresql-data:/var/lib/postgresql/data
  12. redis:
  13. image: redis:alpine
  14. ports:
  15. - 6379:6379
  16. haproxy:
  17. image: haproxy:1.9-alpine
  18. ports:
  19. - 80:80
  20. volumes:
  21. - ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg
  22. volumes:
  23. postgresql-data: