Skip to content

Commit 3753404

Browse files
committed
update docker-dev
1 parent d1dd839 commit 3753404

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docker-compose.dev.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ services:
3333
- redis
3434

3535
app:
36+
build: .
3637
image: covidapi-app
3738
container_name: covid-api-server
38-
command: ["npm", "start"]
39+
command: ["npm", "run", "start:devserver"]
3940
restart: always
4041
environment:
4142
- DOCKER=true

example.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
REDIS_HOST=
2-
REDIS_PORT=
3-
REDIS_PASSWORD=
1+
REDIS_HOST=redis
2+
REDIS_PORT=6379
3+
REDIS_PASSWORD=""
44
SERVER_PORT=3000
55
INTERVAL=6e5
66
NYT_INTERVAL=864e5

0 commit comments

Comments
 (0)