Project starter.
TODO: write System requirements
- DOCKER_NAME — project name for Docker-Compose
- WEB_HOST —
localhost
for dev oryour-domain.com
for production - WEB_PORT — local posrt for web-service (
5173
or whatever you want) - TRAEFIK_HOST
traefik.localhost
for dev ortraefik.your-domain.com
for production - TRAEFIK_USER — username for traefik dashboard
- TRAEFIK_PASSWORD — password for traefik dashboard
- LE_ACME_EMAIL — email fo Let'sEncrypt notifications
TODO: write about web-service
TODO: write about traefik-service
Copy .env.example
into .env
and fill all values.
Start project in dev-mode:
npm run dev
# or
npm run start:dev
Go to localhost in browser.
Stop project in dev-mode:
npm run stop:dev
Configure your domain DNS-records:
A-record your-domain.com = your.server.ip.address
A-record traefik.your-domain.com = your.server.ip.address
Copy .env.example
into .env
and fill all values.
Start project in production-mode:
npm start
Go to your domain address in browser.
Stop project in production-mode:
npm stop
- Author: Den Kochetkov
- E-mail: [email protected]
- Website: asknotbad.com
Copyright © 2025 Not Bad