version: '3.1' services: backend: image: registry.bbr-dev.info/payment-poc/backend:latest restart: on-failure depends_on: - database ports: - "5281:5281" networks: - payment-poc env_file: - .env.docker database: image: postgres:14 ports: - "5432:5432" environment: - POSTGRES_USER=payment-poc - POSTGRES_PASSWORD=paymentPassword - POSTGRES_DB=payment-poc networks: - payment-poc networks: payment-poc: