upstream V3 development https://www.gnusocial.rocks/v3
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.
 
 
 
 
 
 

38 lines
906 B

  1. version: '3'
  2. services:
  3. php:
  4. build: .
  5. depends_on:
  6. - db
  7. - redis
  8. volumes:
  9. # Entrypoint
  10. - ../php/entrypoint.sh:/entrypoint.sh
  11. - ../db/wait_for_db.sh:/wait_for_db.sh
  12. - ../social/install.sh:/var/entrypoint.d/0_social_install.sh
  13. - ./coverage.sh:/var/entrypoint.d/8_coverage.sh
  14. # Main files
  15. - ../../:/var/www/social
  16. - ./xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
  17. env_file:
  18. - social.env
  19. - db.env
  20. command: /entrypoint.sh
  21. db:
  22. image: postgres:alpine
  23. environment:
  24. - PGDATA=/var/lib/postgres/data
  25. env_file:
  26. - db.env
  27. volumes:
  28. - database:/var/lib/postgres/data
  29. redis:
  30. image: redis:alpine
  31. tty: false
  32. volumes:
  33. database: