chore: Remove nginx from docker-compose files
Simplified setup for local network access - access FastAPI directly on port 8000 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -135,20 +135,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- social-network
|
- social-network
|
||||||
|
|
||||||
nginx:
|
|
||||||
image: nginx:alpine
|
|
||||||
container_name: social-automation-nginx
|
|
||||||
ports:
|
|
||||||
- "80:80"
|
|
||||||
volumes:
|
|
||||||
- ./nginx/nginx.local.conf:/etc/nginx/nginx.conf:ro
|
|
||||||
- ./dashboard/static:/usr/share/nginx/html/static:ro
|
|
||||||
depends_on:
|
|
||||||
- app
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- social-network
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
redis_data:
|
redis_data:
|
||||||
|
|||||||
@@ -144,25 +144,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- social-network
|
- social-network
|
||||||
|
|
||||||
# ===========================================
|
|
||||||
# NGINX (Reverse Proxy)
|
|
||||||
# ===========================================
|
|
||||||
nginx:
|
|
||||||
image: nginx:alpine
|
|
||||||
container_name: social-automation-nginx
|
|
||||||
ports:
|
|
||||||
- "80:80"
|
|
||||||
- "443:443"
|
|
||||||
volumes:
|
|
||||||
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
|
|
||||||
- ./nginx/ssl:/etc/nginx/ssl
|
|
||||||
- ./dashboard/static:/usr/share/nginx/html/static
|
|
||||||
depends_on:
|
|
||||||
- app
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- social-network
|
|
||||||
|
|
||||||
# ===========================================
|
# ===========================================
|
||||||
# VOLÚMENES
|
# VOLÚMENES
|
||||||
# ===========================================
|
# ===========================================
|
||||||
|
|||||||
Reference in New Issue
Block a user