demo-db-server.yml 775 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. version: "3.3"
  2. services:
  3. demo-db-server:
  4. image: registry.sdsys.ru/fbdb3:3.0.2.32703-1
  5. networks:
  6. - net21
  7. volumes:
  8. - demo-db-data:/data
  9. secrets:
  10. - FB3_SYSDBA_PWD
  11. - FB3_USER_NAME
  12. - FB3_USER_PWD
  13. deploy:
  14. resources:
  15. reservations:
  16. memory: 1024M
  17. limits:
  18. memory: 2048M
  19. configs:
  20. - source: demo-db-aliases
  21. target: /etc/firebird/databases.conf
  22. networks:
  23. net21:
  24. external: true
  25. volumes:
  26. demo-db-data:
  27. driver: rexray
  28. driver_opts:
  29. size: 20
  30. secrets:
  31. FB3_SYSDBA_PWD:
  32. file: ./fb3_sysdba_pwd.txt
  33. FB3_USER_NAME:
  34. file: ./fb3_user_name.txt
  35. FB3_USER_PWD:
  36. file: ./fb3_user_pwd.txt
  37. configs:
  38. demo-db-aliases:
  39. file: ./databases.conf