-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
59 lines (55 loc) · 2.16 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
59 lines (55 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
services:
process-flow:
image: mertend/process-flow:latest
container_name: merten-process-flow
restart: unless-stopped
networks:
- web
depends_on:
- process-flow-db
environment:
DATABASE_URL: postgresql://processflow:${DB_PASSWORD}@process-flow-db:5432/processflow
BETTER_AUTH_SECRET: ${BETTER_AUTH_SECRET}
BETTER_AUTH_URL: https://processflow.merten.tech
APP_URL: https://processflow.merten.tech
NEXT_PUBLIC_APP_URL: https://processflow.merten.tech
# Custom activity URLs (used by seed + dispatch)
ACTIVITY_OPENROUTER_URL: https://processflow.merten.tech/activities/openrouter/call
labels:
- traefik.enable=true
- traefik.http.routers.process-flow.rule=Host(`processflow.merten.tech`) && !PathPrefix(`/activities`)
- traefik.http.routers.process-flow.entrypoints=websecure
- traefik.http.routers.process-flow.tls.certresolver=le-merten
- traefik.http.services.process-flow.loadbalancer.server.port=3000
activity-openrouter:
build: ./custom-activities/openrouter
image: mertend/activity-openrouter:latest
container_name: merten-activity-openrouter
restart: unless-stopped
networks:
- web
labels:
- traefik.enable=true
- traefik.http.routers.activity-openrouter.rule=Host(`processflow.merten.tech`) && PathPrefix(`/activities/openrouter`)
- traefik.http.routers.activity-openrouter.entrypoints=websecure
- traefik.http.routers.activity-openrouter.tls.certresolver=le-merten
- traefik.http.routers.activity-openrouter.middlewares=strip-openrouter@docker
- traefik.http.middlewares.strip-openrouter.stripprefix.prefixes=/activities/openrouter
- traefik.http.services.activity-openrouter.loadbalancer.server.port=3000
process-flow-db:
image: postgres:17-alpine
container_name: merten-process-flow-db
restart: unless-stopped
networks:
- web
environment:
POSTGRES_DB: processflow
POSTGRES_USER: processflow
POSTGRES_PASSWORD: ${DB_PASSWORD}
volumes:
- process-flow-db-data:/var/lib/postgresql/data
volumes:
process-flow-db-data:
networks:
web:
external: true