Browse Source

Añado host reymota.es

main
Celestino Rey 8 months ago
parent
commit
b4a13f0231
2 changed files with 14 additions and 1 deletions
  1. +13
    -0
      Yamls/reymota-service.yaml
  2. +1
    -1
      src/reymota/settings.py

+ 13
- 0
Yamls/reymota-service.yaml View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: reymota
namespace: reymota
spec:
type: NodePort
ports:
- name: "8080"
port: 8080
nodePort: 30341
targetPort: 8080

+ 1
- 1
src/reymota/settings.py View File

@ -30,7 +30,7 @@ SECRET_KEY = 'django-insecure-vu#zk4g8pj-qoov#8^i$&s8n_ipp2r3h+o$z1w(1%d=6+i@erm
# DEBUG = True
DEBUG = os.environ["DEBUG"] == 'True'
ALLOWED_HOSTS = [".ocp-cluster.reymota.lab"]
ALLOWED_HOSTS = [".ocp-cluster.reymota.lab, reymota.es"]
# Application definition


Loading…
Cancel
Save