diff --git a/Yamls/reymota-service.yaml b/Yamls/reymota-service.yaml new file mode 100644 index 0000000..13aa22d --- /dev/null +++ b/Yamls/reymota-service.yaml @@ -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 + diff --git a/src/reymota/settings.py b/src/reymota/settings.py index 39d2a66..2d30132 100644 --- a/src/reymota/settings.py +++ b/src/reymota/settings.py @@ -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