version: "3.3" services: demo-db-server: image: registry.sdsys.ru/fbdb3:3.0.2.32703-1 networks: - net21 volumes: - demo-db-data:/data secrets: - FB3_SYSDBA_PWD - FB3_USER_NAME - FB3_USER_PWD deploy: resources: reservations: memory: 1024M limits: memory: 2048M configs: - source: demo-db-aliases target: /etc/firebird/databases.conf networks: net21: external: true volumes: demo-db-data: driver: rexray driver_opts: size: 20 secrets: FB3_SYSDBA_PWD: file: ./fb3_sysdba_pwd.txt FB3_USER_NAME: file: ./fb3_user_name.txt FB3_USER_PWD: file: ./fb3_user_pwd.txt configs: demo-db-aliases: file: ./databases.conf