Skip to content

Commit

Permalink
Merge pull request #29 from rik/28_remove_nginx
Browse files Browse the repository at this point in the history
Remove Nginx
  • Loading branch information
nanorepublica authored May 15, 2024
2 parents b21ca1a + 5d1131c commit bfc6432
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 84 deletions.
5 changes: 0 additions & 5 deletions dev-templates/docker-compose.override.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ services:
- POSTGRES_USER=djangosocial
volumes:
- ./django:/django/
djangosocial-nginx:
build:
target: nginx-dev
ports:
- ${NGINX_PORT-8000}:80
djangosocial-postgres:
environment:
- POSTGRES_DB=djangosocial
Expand Down
18 changes: 2 additions & 16 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,8 @@ services:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- PYTHONUNBUFFERED=1
restart: unless-stopped
volumes:
- ./nginx/media:/mnt/media
- ./nginx/static:/mnt/static
djangosocial-nginx:
build:
context: nginx
target: nginx-prod
container_name: djangosocial-nginx
depends_on:
- djangosocial-django
expose:
- "80"
restart: unless-stopped
volumes:
- ./nginx/media:/mnt/media
- ./nginx/static:/mnt/static
ports:
- 8000:8000
djangosocial-postgres:
container_name: djangosocial-postgres
environment:
Expand Down
9 changes: 0 additions & 9 deletions nginx/Dockerfile

This file was deleted.

2 changes: 0 additions & 2 deletions nginx/media/.gitignore

This file was deleted.

50 changes: 0 additions & 50 deletions nginx/nginx.dev.conf

This file was deleted.

2 changes: 0 additions & 2 deletions nginx/static/.gitignore

This file was deleted.

0 comments on commit bfc6432

Please sign in to comment.