services: api: build: context: ./api env_file: - .env ports: - "${PORT:-3000}:3000" restart: unless-stopped client: build: context: ./client ports: - "8080:80" depends_on: - api restart: unless-stopped