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.

23 lines
547 B

  1. services:
  2. db:
  3. image: 'postgres:latest'
  4. environment:
  5. POSTGRES_USER: movim
  6. POSTGRES_PASSWORD: movim
  7. POSTGRES_DB: movim
  8. healthcheck:
  9. test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
  10. interval: 2s
  11. movim:
  12. build:
  13. context: ./
  14. dockerfile: Containerfile
  15. depends_on:
  16. db:
  17. condition: service_healthy
  18. environment:
  19. DB_HOST: db
  20. DAEMON_URL: https://127.0.0.1:8443/
  21. DAEMON_DEBUG: true
  22. DAEMON_VERBOSE: true
  23. ports:
  24. - 8443:8443