1
0

docker-compose.py37.pg95.yaml 412 B

12345678910111213141516171819202122
  1. version: '3.1'
  2. services:
  3. postgres:
  4. image: postgres:9.5
  5. environment:
  6. POSTGRES_PASSWORD: postgres
  7. command: -c fsync=off
  8. testenv:
  9. image: python:3.7
  10. depends_on:
  11. - postgres
  12. env_file: .env
  13. environment:
  14. SYNAPSE_POSTGRES_HOST: postgres
  15. SYNAPSE_POSTGRES_USER: postgres
  16. SYNAPSE_POSTGRES_PASSWORD: postgres
  17. working_dir: /src
  18. volumes:
  19. - ..:/src