Skip to content

Commit

Permalink
modernize docker-compose.dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mymindishazel committed Mar 24, 2024
1 parent f8a2ed8 commit 476eb7e
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
version: "3.7"

services:
redis:
env_file: .env
container_name: covid-api-redis
command:
[
"redis-server",
Expand All @@ -20,24 +17,20 @@ services:
scraper:
build: .
image: covidapi-scraper
container_name: covid-api-scraper
command: ["npm", "run", "start:scraper"]
restart: always
restart: unless-stopped
environment:
- DOCKER=true
env_file:
- .env
networks:
- redis-net
depends_on:
- redis

app:
build: .
image: covidapi-app
container_name: covid-api-server
command: ["npm", "run", "start:devserver"]
restart: always
restart: unless-stopped
environment:
- DOCKER=true
env_file:
Expand Down

0 comments on commit 476eb7e

Please sign in to comment.