version: '3' services: migrate: build: . entrypoint: ./citadel migrate volumes: - ./migrations:/root/migrations depends_on: - postgres networks: - citadel-test