-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (43 loc) · 989 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (43 loc) · 989 Bytes
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
services:
web:
build:
context: .
dockerfile: dev.Dockerfile
command: bin/dev
ports:
- "3000:3000"
volumes:
- .:/app
- node_modules_cache:/app/node_modules
- bundle_cache:/usr/local/bundle
environment:
- RAILS_ENV=development
- FERRET=${FERRET:-}
depends_on:
- db
- dbe
db:
image: postgres:16
volumes:
- flavortown_postgres_data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=pass
- POSTGRES_USER=postgres
- POSTGRES_DB=flavortown_development
ports:
- "5432:5432"
dbe:
image: pgvector/pgvector:pg16
volumes:
- flavortown_postgres_data_e:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=pass
- POSTGRES_USER=postgres
- POSTGRES_DB=flavortown_development_embed
ports:
- "5433:5432"
volumes:
flavortown_postgres_data:
flavortown_postgres_data_e:
bundle_cache:
node_modules_cache: