Files
my-protfolio/compose.yaml
Amirhossein Khalili 463e72a404 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.
2026-09-06 15:01:56 +03:30

16 lines
280 B
YAML

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