blog/docker-compose.yml
Sergei Poljanski a4b677f898
All checks were successful
Build and Deploy to Production / check (push) Successful in 9s
Build and Deploy to Production / build (push) Successful in 25s
Build and Deploy to Production / deploy (push) Successful in 36s
blog: Zola site, nginx image, Forgejo deploy pipeline
2026-07-16 19:51:31 +04:00

21 lines
626 B
YAML

services:
blog:
# Image will be dynamically updated during deployment
# Format: registry.example.com/user/blog:sha_tag
build: .
image: blog:latest
container_name: blog
restart: unless-stopped
networks:
- traefik
labels:
- "traefik.enable=true"
- "traefik.http.routers.blog.rule=Host(`blog.asxp.io`)"
- "traefik.http.routers.blog.entrypoints=websecure"
- "traefik.http.routers.blog.tls=true"
- "traefik.http.routers.blog.tls.certresolver=letsencrypt"
- "traefik.http.services.blog.loadbalancer.server.port=80"
networks:
traefik:
external: true