Skip to content

esportsvideos/website

Repository files navigation

Esports Videos - Website

💿 Prerequisites

  • Docker (with Compose v2)
  • make

No local Node.js / pnpm needed — everything runs in the container.

⚙️ Installation

make install

This single command:

  1. pulls the service images
  2. creates compose.override.yaml from the .dist file (Traefik) if missing
  3. creates the external esv Docker network if missing
  4. builds the node image
  5. installs dependencies (pnpm install) into ./node_modules via the container
  6. starts the stack

📃 Links

Service Link
Nuxt http://www.esv.localhost
Traefik Dashboard http://traefik.esv.localhost

🛠️ Common commands

make up        # start containers (detached)
make down      # stop and remove containers
make stop      # stop containers (keep them)
make logs      # follow the node container logs
make sh        # open a shell in the node container
make build     # rebuild the node image
make node_modules  # (re)install dependencies in the container
make help      # list all targets

🔧 How it works

  • Dockerfilenode + pnpm (installed globally). Runs as the unprivileged built-in node user (uid 1000), which matches the host user so bind-mounted files stay owned by you, not root. Dependencies are not baked into the image.
  • compose.yaml — the node service bind-mounts the project (./:/app) for hot reload and is exposed through Traefik on www.esv.localhost (port 3000).
  • compose.override.yaml — runs Traefik locally (*.esv.localhost routing, dashboard). Generated from compose.override.yaml.dist; edit it freely, it is not committed.
  • Dependenciespnpm install runs inside the container and writes ./node_modules into the bind mount. They are therefore musl-correct (alpine) and owned by you. pnpm keeps its content-addressable store next to them in ./.pnpm-store (hardlinked, gitignored).

node_modules and .pnpm-store live in the project folder but are git- and docker-ignored. Run make node_modules after changing dependencies.

📄 License

This project is under the MIT license. See the complete license in the bundle

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors