-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (39 loc) · 884 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (39 loc) · 884 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
name: starch
services:
typesense:
image: typesense/typesense:27.1
container_name: starch-typesense
restart: on-failure
ports:
- "8108:8108"
volumes:
- ./tmp/typesense-data:/data
command: '--data-dir /data --api-key=xyz --enable-cors'
networks:
- starch-network
reading-parser:
build: ./reading_parser
container_name: starch-reading-parser
restart: on-failure
ports:
- "3001:3001"
volumes:
- ./reading_parser:/app
command: 'pnpm start'
networks:
- starch-network
web:
build:
context: .
dockerfile: Dockerfile.dev
working_dir: /app
volumes:
- .:/app
ports:
- "3000:3000"
command: 'bash -c "bundle install --verbose && bundle exec rails server -p 3000 -b 0.0.0.0"'
networks:
- starch-network
tty: true
networks:
starch-network: