Skip to content

Commit 0edfd97

Browse files
authored
Reduce Cache Duration to 4 Hours (#46)
1 parent d7f20af commit 0edfd97

5 files changed

Lines changed: 398 additions & 453 deletions

File tree

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
docs/** linguist-documentation
2+
build.sh linguist-vendored

docker-compose-dev.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,17 @@ services:
3434
memory: 256M
3535
depends_on:
3636
- redis
37-
volumes:
38-
- ${APP_FILES:-./src}:/app/src
37+
#volumes:
38+
# - ${APP_FILES:-./src}:/app/src
39+
develop:
40+
watch:
41+
- action: sync
42+
path: ./src
43+
target: /app/src
44+
- action: rebuild
45+
path: ./package-lock.json
46+
- action: rebuild
47+
path: ./docker-compose-dev.yaml
3948

4049
redis:
4150
image: redis:6-alpine
@@ -45,7 +54,7 @@ services:
4554
resources:
4655
limits:
4756
cpus: "1.0"
48-
memory: 128M
57+
memory: 64M
4958
volumes:
5059
- redis_data:/data
5160

0 commit comments

Comments
 (0)