Skip to content

Commit 78ae1c7

Browse files
committed
tests
1 parent c902de1 commit 78ae1c7

7 files changed

Lines changed: 1113 additions & 1110 deletions

File tree

docker-compose.yml

Lines changed: 46 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,46 @@
1-
version: '3.8'
2-
services:
3-
lorescribe:
4-
build:
5-
context: .
6-
target: builder # Use the builder stage for development
7-
platform: linux/amd64
8-
environment:
9-
NODE_ENV: development
10-
PORT: 8080
11-
REDIS_HOST: redis
12-
REDIS_PORT: 6379
13-
REDIS_TLS_ENABLED: "false"
14-
ports:
15-
- "8080:8080"
16-
volumes:
17-
- .:/usr/src/app
18-
- /usr/src/app/node_modules
19-
- recordings:/recordings
20-
depends_on:
21-
redis:
22-
condition: service_healthy
23-
command: ["pnpm", "start"] # Use the start script from package.json
24-
25-
redis:
26-
image: redis:7-alpine
27-
platform: linux/amd64
28-
ports:
29-
- "6379:6379"
30-
volumes:
31-
- redis_data:/data
32-
deploy:
33-
resources:
34-
limits:
35-
memory: 512M
36-
cpus: '0.5'
37-
healthcheck:
38-
test: ["CMD", "redis-cli", "ping"]
39-
interval: 10s
40-
timeout: 5s
41-
retries: 5
42-
start_period: 30s
43-
command: redis-server --save 60 1 --loglevel warning
44-
45-
volumes:
46-
redis_data:
47-
recordings:
1+
services:
2+
lorescribe:
3+
build:
4+
context: .
5+
target: builder # Use the builder stage for development
6+
platform: linux/amd64
7+
environment:
8+
NODE_ENV: development
9+
PORT: 8091
10+
REDIS_HOST: redis
11+
REDIS_PORT: 6379
12+
REDIS_TLS_ENABLED: "false"
13+
ports:
14+
- "8091:8091"
15+
volumes:
16+
- .:/usr/src/app
17+
- /usr/src/app/node_modules
18+
- recordings:/recordings
19+
depends_on:
20+
redis:
21+
condition: service_healthy
22+
command: ["pnpm", "start"]
23+
24+
redis:
25+
image: redis:7-alpine
26+
platform: linux/amd64
27+
ports:
28+
- "6379:6379"
29+
volumes:
30+
- redis_data:/data
31+
deploy:
32+
resources:
33+
limits:
34+
memory: 512M
35+
cpus: '0.5'
36+
healthcheck:
37+
test: ["CMD", "redis-cli", "ping"]
38+
interval: 10s
39+
timeout: 5s
40+
retries: 5
41+
start_period: 30s
42+
command: redis-server --save 60 1 --loglevel warning
43+
44+
volumes:
45+
redis_data:
46+
recordings:

0 commit comments

Comments
 (0)