Code Monkey home page Code Monkey logo

ckan-admin's Introduction

CKAN PLUGINS

Dockerizacion de una instancia de CKAN + plugins para datos.gob.mx.

Deployment Kubernetes

Para implementaciones basadas en kubernetes usar la siguiente plantilla.

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
 name: ckan
spec:
 replicas: 1
 template:
   metadata:
     labels:
       app: ckan
       tier: frontend
   spec:
     containers:
       - name: ckan
         image: mxabierto/ckan-dgm:v2.0.{version}
         ports:
           - containerPort: 5000
         env:
           - name: INIT_DBS
             value: "false"
           - name: CKAN_SITE_URL
             value: "http://datos.gob.mx/busca"
           - name: SOLR_PORT_8080_TCP_ADDR
             value: "{xxxxxxx}"
           - name: SOLR_PORT_8080_TCP_PORT
             value: "{puerto-solr}"
           - name: POSTGRES_PORT_5432_TCP_ADDR
             value: "{xxxxxx}"
           - name: POSTGRES_PORT_5432_TCP_PORT
             value: "{puerto-postgres}"
           - name: POSTGRES_ENV_POSTGRES_DB
             value: "{ckan-databse}"
           - name: POSTGRES_ENV_POSTGRES_USER
             value: "{ckan-user}"
           - name: POSTGRES_ENV_POSTGRES_PASSWORD
             value: "{xxxxxx}"
           - name: DATASTORE_ENV_USER_DATASTORE
             value: "{ckan-datastore-user-write}"
           - name: DATASTORE_ENV_USER_DATASTORE_PWD
             value: "{datastore-user-password}"
           - name: DATASTORE_ENV_USER_DATASTORE_READ
             value: "{datastore-user-read}"
           - name: DATASTORE_PORT_5432_TCP_ADDR
             value: "{datastore-server-ip}"
           - name: DATASTORE_ENV_DATABASE_DATASTORE
             value: "{datastore-dbname}"
           - name: REDIS_PORT_6379_TCP_ADDR
             value: "{redis_tcp_ip}"
           - name: DATAPUSHER_URL_WITH_PORT
             value: http://{ip-ckan}:8800/
         volumeMounts:
           - mountPath: "/var/lib/ckan"
             name: ckan-data
     nodeSelector:
       name: worker-02
     volumes:
       - name: ckan-data
         hostPath:
           path: "xxxxxxxxxxxxxxxxx"

Release Notes

  • Cambio de nombre en variable de ambiente para SOLR (SOLR_PORT_8080_TCP_PORT, SOLR_PORT_8080_TCP_PORT)

  • Dependencia con instancias REDIS para manejo de background-jobs (REDIS_PORT_6379_TCP_ADDR)

  • Cambio de nombre en variables de ambiente para DATASTORE:

    • DATASTORE_ENV_DATABASE_DATASTORE
    • DATASTORE_ENV_USER_DATASTORE
    • DATASTORE_ENV_USER_DATASTORE_READ
    • DATASTORE_ENV_USER_DATASTORE_PWD
    • DATASTORE_PORT_5432_TCP_ADDR
    • DATAPUSHER_URL_WITH_PORT
  • Cambio de nombre en variable de ambiente para SOLR (SOLR_PORT_8080_TCP_PORT, SOLR_PORT_8080_TCP_PORT)

  • Dependencia con instancias REDIS para manejo de background-jobs (REDIS_PORT_6379_TCP_ADDR)

ckan-admin's People

Contributors

vaquer avatar kielrodriguez avatar the-vladman avatar urkonn avatar ca-ma-ra avatar edsonjab avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.