Browse Source

Vuelvo al puerto 80

main
Celestino Rey 9 months ago
parent
commit
afd5ea7677
3 changed files with 6 additions and 4 deletions
  1. +1
    -1
      Dockerfile
  2. +4
    -2
      README.md
  3. +1
    -1
      nginx/default.conf

+ 1
- 1
Dockerfile View File

@ -29,7 +29,7 @@ RUN python -m venv /opt/venv && \
# make our entrypoint.sh executable
RUN chmod +x config/entrypoint.sh
EXPOSE 8080
EXPOSE 80
# execute our entrypoint.sh file
CMD ["./config/entrypoint.sh"]

+ 4
- 2
README.md View File

@ -1,8 +1,10 @@
# Versión para openshift
## ATENCIÓN
## permitir a nginx correr con privilegios
Creo que el Dockerfile que hay en el directorio raíz no sirve para nada.
### esto se hace una vez dentro del proyecto.
oc adm policy add-scc-to-user -z default anyuid
## Instalación


+ 1
- 1
nginx/default.conf View File

@ -5,7 +5,7 @@ upstream django_project {
error_log /var/log/nginx/error.log;
server {
listen 8080;
listen 80;
access_log /var/log/nginx/access.log;


Loading…
Cancel
Save