version: "3.3" services: nextjs: build: ./ network_mode: "host" restart: "always" # nginx: # build: ./nginx # network_mode: "host" # volumes: # - ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro # depends_on: # - nextjs # ports: # - "8081:80" # ports: # - "${NGINX_PORT}:80"