41 lines
1.5 KiB
YAML
41 lines
1.5 KiB
YAML
name: ai-toy-patent-workflow
|
|
|
|
services:
|
|
web:
|
|
container_name: ai-toy-patent-workflow
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: ai-toy-patent-workflow:latest
|
|
restart: unless-stopped
|
|
env_file:
|
|
- ./deploy/.env.production
|
|
environment:
|
|
NODE_ENV: production
|
|
PORT: "4560"
|
|
PUBLIC_APP_URL: https://ai-toy.kang-kang.com
|
|
volumes:
|
|
- ./data:/app/data
|
|
networks:
|
|
- coolify
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.docker.network: coolify
|
|
traefik.http.middlewares.ai-toy-patent-gzip.compress: "true"
|
|
traefik.http.middlewares.ai-toy-patent-redirect.redirectscheme.scheme: https
|
|
traefik.http.routers.ai-toy-patent-http.entryPoints: http
|
|
traefik.http.routers.ai-toy-patent-http.middlewares: ai-toy-patent-redirect
|
|
traefik.http.routers.ai-toy-patent-http.rule: Host(`ai-toy.kang-kang.com`)
|
|
traefik.http.routers.ai-toy-patent-http.service: ai-toy-patent
|
|
traefik.http.routers.ai-toy-patent-https.entryPoints: https
|
|
traefik.http.routers.ai-toy-patent-https.middlewares: ai-toy-patent-gzip
|
|
traefik.http.routers.ai-toy-patent-https.rule: Host(`ai-toy.kang-kang.com`)
|
|
traefik.http.routers.ai-toy-patent-https.service: ai-toy-patent
|
|
traefik.http.routers.ai-toy-patent-https.tls: "true"
|
|
traefik.http.routers.ai-toy-patent-https.tls.certresolver: letsencrypt
|
|
traefik.http.services.ai-toy-patent.loadbalancer.server.port: "4560"
|
|
|
|
networks:
|
|
coolify:
|
|
external: true
|