matinhuseynzade.com
Free and Open Source Blog Site
- Docker and Docker Compose installed
Create a .env file in the project root:
PUBLIC_UMAMI_WEBSITE_ID=your-umami-website-id
PUBLIC_UMAMI_SCRIPT_URL=https://your-analytics-domain/script.jsThese are build-time variables used by Astro. Any changes require a rebuild.
Development (with hot reload):
docker compose -f docker-compose.dev.yml up --buildProduction:
docker compose up --build -dThe app runs on port 4321 inside the container.
bun install
bun run devThe Dockerfile uses multi-stage builds:
- Builds the Astro app with Bun
- Serves the app via Node.js from
dist/server/entry.mjs
For pure Docker build without Compose:
docker build -t matinhuseynzade-com \
--build-arg PUBLIC_UMAMI_WEBSITE_ID=your-umami-website-id \
--build-arg PUBLIC_UMAMI_SCRIPT_URL=https://your-analytics-domain/script.js \
.
docker run --rm -p 4321:4321 matinhuseynzade-comThis website's source code is open-sourced under the MIT License.
Initial version of the website has been forked from Astrofolio.