Skip to content

Commit

Permalink
fix: nginx and docker
Browse files Browse the repository at this point in the history
  • Loading branch information
giannistolou committed Aug 11, 2022
1 parent b0645a0 commit e967235
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,22 @@ services:
- 8000
env_file:
- ./.env
networks:
- default
nginx:
build: ./nginx
ports:
- 1337:80
volumes:
- static_volume:/home/app/web/staticfiles
depends_on:
- web
hostname: cafe-book-nginx
networks:
- default
- nginx

volumes:
static_volume:

networks:
nginx:
external: true

0 comments on commit e967235

Please sign in to comment.