1 2 3 4 5 6 7 8 9 10 11 12 13
version: '3' services: app: container_name: which-api restart: always build: . ports: - '3030:3030' links: - db db: container_name: mongo image: mongo