Skip to content

Commit

Permalink
added custom img for nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
fulanii committed Dec 17, 2024
1 parent 174d2b8 commit fa43e43
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,16 @@ services:
volumes:
- redis_data:/data


nginx:
image: nginx:latest
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./static:/staticfiles
build:
context: .
dockerfile: Dockerfile.nginx
ports:
- "80:80"
- "80:80"
depends_on:
- web
- web

volumes:
postgres_data:
redis_data:
static:
# nginx.conf:

0 comments on commit fa43e43

Please sign in to comment.