This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
creylopez
/
ReyMotaAppsOC
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Vuelvo al puerto 80
main
Celestino Rey
9 months ago
parent
c0ba2edd5f
commit
afd5ea7677
3 changed files
with
6 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
Dockerfile
+4
-2
README.md
+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
80
80
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 80
80
;
listen 80;
access_log /var/log/nginx/access.log;
Write
Preview
Loading…
Cancel
Save