chore: add Docker deployment behind Caddy

Build the static Next.js export in a reproducible container and expose it
through the existing Caddy network and upstream service name.
This commit is contained in:
2026-09-06 15:01:56 +03:30
parent e45a2fc14a
commit 463e72a404
5 changed files with 115 additions and 0 deletions

15
compose.yaml Normal file
View File

@@ -0,0 +1,15 @@
services:
static-site:
image: amiirkhl-portfolio:latest
build:
context: .
dockerfile: Dockerfile
container_name: static-site
restart: unless-stopped
networks:
- caddy_proxy
networks:
caddy_proxy:
external: true
name: caddy_proxy