# CREDIT: https://github.com/shren207/nextjs-docker-compose # CREATED: 03-12-2023 services: ddmseour_kos_intl_share: container_name: ddmseour_kos_intl_share build: . restart: always volumes: - ./app:/app - ddmseour_kos_intl_node_modules:/app/node_modules working_dir: /app # command: sleep infinity command: bash entry.sh ports: - 8080 labels: - "traefik.enable=true" - "traefik.http.routers.ddmseour_kos_intl-http.rule=Host(`ddmseour_kos_intl.louislabs.com`)" - "traefik.http.routers.ddmseour_kos_intl-http.entrypoints=web" - "traefik.http.routers.ddmseour_kos_intl-http.middlewares=ddmseour_kos_intl-https" - "traefik.http.middlewares.ddmseour_kos_intl-https.redirectscheme.scheme=https" - "traefik.http.routers.ddmseour_kos_intl.rule=Host(`ddmseour_kos_intl.louislabs.com`)" - "traefik.http.routers.ddmseour_kos_intl.entrypoints=websecure" - "traefik.http.routers.ddmseour_kos_intl.tls.certresolver=myresolver" - "traefik.http.services.ddmseour_kos_intl.loadbalancer.server.port=8080" # networks: # default: # external: # name: traefik-proxy-network volumes: ddmseour_kos_intl_node_modules: