version: '3.9' services: frontend: build: frontend container_name: project-faas-frontend hostname: app ports: - "4200:4200" volumes: - ./frontend:/app depends_on: - backend networks: - project-faas-mainnet backend: build: backend container_name: project-faas-backend hostname: api volumes: - ./backend:/api networks: - project-faas-mainnet networks: project-faas-mainnet: name: project-faas-mainnet