skip to Main Content

How to swap env file for another docker service

I have a docker-compose.yml services: nextjs: container_name: next_app build: context: ./ restart: on-failure command: npm run dev volumes: - ./:/app - /app/node_modules - /app/.next ports: - "3000:3000" cypress: image: "cypress/included:9.4.1" depends_on: - next_app environment: - CYPRESS_baseUrl=http://nextjs:3000 working_dir: /e2e volumes: -…

VIEW QUESTION
Back To Top
Search