-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.dev.yml
153 lines (139 loc) · 3.06 KB
/
docker-compose.dev.yml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
version: '3.7'
services:
adminer:
image: adminer
restart: unless-stopped
ports:
- '8085:8080'
environment:
- ADMINER_DEFAULT_SERVER=postgres:5432
- ADMINER_PLUGINS=enum-types enum-option json-column
networks:
- twir-dev
postgres:
image: postgres:17-alpine
restart: unless-stopped
volumes:
- postgres-data:/var/lib/postgresql/data
ports:
- '54321:5432'
environment:
POSTGRES_USER: twir
POSTGRES_PASSWORD: twir
POSTGRES_DB: twir
networks:
- twir-dev
pgbouncer:
image: bitnami/pgbouncer:1.23.1
restart: unless-stopped
environment:
- POSTGRESQL_HOST=postgres
- POSTGRESQL_USERNAME=twir
- POSTGRESQL_PASSWORD=twir
- POSTGRESQL_DATABASE=twir
- PGBOUNCER_AUTH_USER=twir
- PGBOUNCER_DATABASE=twir
- PGBOUNCER_MIN_POOL_SIZE=20
networks:
- twir-dev
ports:
- '6432:6432'
redis:
image: redis/redis-stack:latest
restart: always
ports:
- '6385:6379'
- '8001:8001'
volumes:
- redis-data:/data
networks:
- twir-dev
language-detector:
image: ghcr.io/twirapp/language-detector:latest
restart: always
ports:
- '3012:3012'
environment:
- APP_ENV=development
tts:
image: aculeasis/rhvoice-rest
restart: always
ports:
- '7001:8080'
networks:
- twir-dev
minio:
image: quay.io/minio/minio
command: server /data --console-address ":9090"
restart: always
ports:
- '8000:9000'
- '8090:9090'
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio-password
volumes:
- minio-data:/data
temporal:
image: temporalio/auto-setup:1.22.2
restart: always
depends_on:
- postgres
environment:
- DB=postgresql
- DB_PORT=5432
# this is db addr
- POSTGRES_SEEDS=postgres
- POSTGRES_PORT=5432
- POSTGRES_USER=twir
- POSTGRES_PWD=twir
- POSTGRES_DB=temporal
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development-sql.yaml
volumes:
- ./configs/temporal:/etc/temporal/config/dynamicconfig
networks:
- twir-dev
ports:
- '7233:7233'
labels:
kompose.volume.type: configMap
temporal-admin-tools:
image: temporalio/admin-tools:1.22.2
restart: always
depends_on:
- temporal
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CLI_ADDRESS=temporal:7233
networks:
- twir-dev
stdin_open: true
tty: true
temporal-ui:
image: temporalio/ui:2.21.0
restart: always
depends_on:
- temporal
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CORS_ORIGINS=http://localhost:3000
networks:
- twir-dev
ports:
- '7234:8080'
nats:
image: nats:2.10.11-scratch
command: -js -m 8222
restart: always
ports:
- '4222:4222'
- '8222:8222'
networks:
- twir-dev
volumes:
redis-data:
postgres-data:
minio-data:
networks:
twir-dev:
driver: bridge