services: api: build: ./api cpus: '0.50' mem_limit: 300M nginx: build: ./nginx cpus: '0.50' mem_limit: 300M ports: - "80:80" depends_on: - api