asxpio/docker-compose.yml
Sergei Poljanski 1ab09043ee
All checks were successful
Build and Deploy to Production / build (push) Successful in 51s
Build and Deploy to Production / deploy (push) Successful in 34s
ruby rework with contact form
2026-05-05 00:45:27 +04:00

22 lines
683 B
YAML

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