1
0

docker-compose.py27.pg94.yaml 386 B

123456789101112131415161718192021
  1. version: '3.1'
  2. services:
  3. postgres:
  4. image: postgres:9.4
  5. environment:
  6. POSTGRES_PASSWORD: postgres
  7. testenv:
  8. image: python:2.7
  9. depends_on:
  10. - postgres
  11. env_file: .env
  12. environment:
  13. SYNAPSE_POSTGRES_HOST: postgres
  14. SYNAPSE_POSTGRES_USER: postgres
  15. SYNAPSE_POSTGRES_PASSWORD: postgres
  16. working_dir: /app
  17. volumes:
  18. - ..:/app