Commit e4fcea82 authored by philippeoz's avatar philippeoz

Corrgitindo portas no docker-compose

parent 7074f68f
upstream web { upstream web {
ip_hash; ip_hash;
server web:8000; server web:80
} }
# portal # portal
......
...@@ -4,7 +4,7 @@ services: ...@@ -4,7 +4,7 @@ services:
image: nginx:latest image: nginx:latest
container_name: nginx_diario_manager container_name: nginx_diario_manager
ports: ports:
- "80:80" - "8000:8000"
volumes: volumes:
- ./src:/src - ./src:/src
- ./config/nginx:/etc/nginx/conf.d - ./config/nginx:/etc/nginx/conf.d
...@@ -21,7 +21,7 @@ services: ...@@ -21,7 +21,7 @@ services:
- static-data:/src/frontend/staticfiles - static-data:/src/frontend/staticfiles
- media-data:/src/media - media-data:/src/media
expose: expose:
- "80" - "8000"
environment: environment:
DEBUG: "False" DEBUG: "False"
DATABASE_URL: "postgres://postgres:infatecbdadmin@165.227.205.36/diario_manager" DATABASE_URL: "postgres://postgres:infatecbdadmin@165.227.205.36/diario_manager"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment