-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
44 lines (41 loc) · 1.02 KB
/
docker-compose.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
services:
postgres:
image: pgvector/pgvector:0.8.0-pg17
restart: unless-stopped
ports:
- "5432:5432"
environment:
- POSTGRES_DB=maek_dev
- POSTGRES_USER=maek
- POSTGRES_PASSWORD=passwd
volumes:
- pg_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U maek"]
interval: 5s
timeout: 5s
retries: 5
postgres-test:
image: pgvector/pgvector:0.8.0-pg17
restart: unless-stopped
ports:
- "5433:5432"
environment:
- POSTGRES_DB=maek_test
- POSTGRES_USER=maek
- POSTGRES_PASSWORD=passwd
healthcheck:
test: ["CMD-SHELL", "pg_isready -U maek"]
interval: 5s
timeout: 5s
retries: 5
y-sweet:
image: ghcr.io/jamsocket/y-sweet:sha-db9709a
ports:
- "8081:8080"
volumes:
- ./tmp/ysweet_data:/data
command: >
y-sweet serve /data --host 0.0.0.0 --auth FriXYnx5Be4Me7jh+w64c0soR+ZIsQxc+7ZpswYF --url-prefix=http://localhost:8081/
volumes:
pg_data: