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