services: { api: { build: ../app/server, environment: ['PORT=3000'], ports: ['3000:3000'] }, nginx: { image: nginx:alpine, volumes: ['../configs/nginx/uniphilabs.conf:/etc/nginx/conf.d/default.conf:ro'], ports: ['8080:80'], depends_on: [api] }, mongo:{ image: mongo:6, environment: ['MONGO_INITDB_ROOT_USERNAME=demo','MONGO_INITDB_ROOT_PASSWORD=demo'], ports:['27017:27017']}, redis:{ image: redis:7-alpine, ports:['6379:6379']}, prometheus:{ image: prom/prometheus, ports:['9090:9090']}, grafana:{ image: grafana/grafana, ports:['3002:3000'], depends_on:[prometheus]} }