docker-compose-production.yml 334 B

1234567891011121314151617
  1. version: "3.3"
  2. services:
  3. nextjs:
  4. build: ./
  5. network_mode: "host"
  6. restart: "always"
  7. # nginx:
  8. # build: ./nginx
  9. # network_mode: "host"
  10. # volumes:
  11. # - ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
  12. # depends_on:
  13. # - nextjs
  14. # ports:
  15. # - "8081:80"
  16. # ports:
  17. # - "${NGINX_PORT}:80"