1
0

docker-compose.yml 834 B

1234567891011121314151617181920212223242526272829303132
  1. version: '3'
  2. services:
  3. influx:
  4. image: influxdb:alpine
  5. environment:
  6. INFLUXDB_DB: "mydb"
  7. INFLUXDB_USER: "my_user"
  8. INFLUXDB_USER_PASSWORD: "my_pass"
  9. redis:
  10. image: redis:alpine
  11. graphite:
  12. build:
  13. dockerfile: Dockerfile.graphite
  14. context: ci
  15. depends_on:
  16. - redis
  17. timescale:
  18. build:
  19. dockerfile: ci/Dockerfile.timescale
  20. context: .
  21. environment:
  22. POSTGRES_PASSWORD: 123456
  23. app:
  24. build:
  25. dockerfile: ci/Dockerfile.tests
  26. context: .
  27. privileged: true
  28. depends_on:
  29. - timescale
  30. - graphite
  31. - influx
  32. command: ./ci/wait-for-it.sh timescale:5432 -- ./ci/wait-for-it.sh graphite:80 -- mono /root/.nuget/packages/xunit.runner.console/2.4.1/tools/net461/xunit.console.exe OhmGraphite.Test/bin/Debug/net461/OhmGraphite.Test.dll