auto-save 2026-05-19 09:18 (+3, ~2)
This commit is contained in:
39
docker-compose.prod.yml
Normal file
39
docker-compose.prod.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
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"
|
||||
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
|
||||
Reference in New Issue
Block a user