Skip to content

Commit

Permalink
modernize docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazel authored Mar 24, 2024
1 parent 83d0f8c commit 0b60c33
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,14 @@
version: "3.7"

services:
redis:
image: redis:5.0.8-buster
hostname: redis
container_name: covid-api-redis
networks:
- redis-net
volumes:
- redis-data:/data

app:
image: novelcovid/novelcovid-api:latest
networks:
- redis-net
depends_on:
- redis

networks:
redis-net:

volumes:
redis-data:
redis-data:

0 comments on commit 0b60c33

Please sign in to comment.