--- services: backend: build: context: backend target: develop env_file: ./backend/.env volumes: - ./backend:/app - node_modules:/app/node_modules command: /bin/sh -c "node ace generate:key; node ace migration:run --force && node ace serve --watch" depends_on: db: condition: service_healthy volumes: node_modules: {}