version: "3.5" services: mariadb: image: mariadb:latest environment: MYSQL_ROOT_PASSWORD: RootPassword MYSQL_USER: admin MYSQL_PASSWORD: AdminPassword ports: - "3306:3306" volumes: - "./backup.sql:/docker-entrypoint-initdb.d/1.sql" librarian: image: 0ry5/librarian:latest environment: PORT: 3001 ADMIN_KEY: AdminPassword ADMIN_DB_USER: admin ADMIN_DB_PW: AdminPassword DB_HOST: "mdb" DB_PORT: 3306 DB_CONNECTION_LIMIT: 10 ports: - "3001:3001" links: - "mariadb:mdb"