All Projects → opendatateam → docker-udata

opendatateam / docker-udata

Licence: MIT license
udata and plugins all-in-one Docker image

Programming Languages

Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to docker-udata

zipapps
Package your python code into a executable zip file (with the requirements). For Python3.6+
Stars: ✭ 38 (+153.33%)
Mutual labels:  standalone
d2launcher
Diablo II • Median XL • Mod Launcher for Linux
Stars: ✭ 20 (+33.33%)
Mutual labels:  standalone
JShellStandalone
Provides a standalone version of the JShell REPL. Anything needed to run JShell independently is contained, so there is no need to install the full JDK. A minimal Java runtime is embedded and compressed using the jlink tool.
Stars: ✭ 36 (+140%)
Mutual labels:  standalone
keras-rest-API
A scalable Flask API to interact with a pre-trained Keras model.
Stars: ✭ 14 (-6.67%)
Mutual labels:  uwsgi
uwsgiconf
Configure uWSGI from your Python code
Stars: ✭ 75 (+400%)
Mutual labels:  uwsgi
EscherConverter
A standalone program that reads files created with the graphical network editor Escher and converts them to files in community standard formats.
Stars: ✭ 14 (-6.67%)
Mutual labels:  standalone
ctxmenu
Tiny and customizable context menu generator
Stars: ✭ 20 (+33.33%)
Mutual labels:  standalone
DentOS
Experimental Stand-alone 32-bit Kernel with Bootloader written in AT&T Assembly and Freestanding C
Stars: ✭ 32 (+113.33%)
Mutual labels:  standalone
hmac-sha1
Standalone implementation of `HMAC()` + `EVP_sha1()` in `OpenSSL`
Stars: ✭ 40 (+166.67%)
Mutual labels:  standalone
react-declarative
A React form builder which interacts with a JSON endpoint to generate nested 12-column grids with input fields and automatic state management in a declarative style. Endpoint is typed by TypeScript guards (IntelliSense available). This tool is based on material-ui components, so your application will look beautiful on any device...
Stars: ✭ 17 (+13.33%)
Mutual labels:  standalone
Mage-Studio
Mage Studio is a Game Editor, built on top of Mage Engine, embedded in Electron. Mage Studio will allow to easily develop 3D apps using WebGL.
Stars: ✭ 16 (+6.67%)
Mutual labels:  standalone
menuv
FiveM menu library for creating menu's with NUI
Stars: ✭ 85 (+466.67%)
Mutual labels:  standalone
analytics-js-without-segment
A toolset to use Segments open-source analytics library (analytics.js) WITHOUT using the paid Segment service (segment.com). To be used with your favorite analytics-tools like Google Analytics, Mixpanel, Hotjar, etc.
Stars: ✭ 47 (+213.33%)
Mutual labels:  standalone
Boostnote-packages
Repo containing .rpm, .deb and Boostnote app folder
Stars: ✭ 31 (+106.67%)
Mutual labels:  standalone
domino
a tool for collaging thoughts
Stars: ✭ 83 (+453.33%)
Mutual labels:  standalone
material-ui-umd
Разработка ui на React используя как систему сборки только TypeScript Compiler. Примеры кода, инструменты, umd дистрибутив библиотеки material-ui с файлом описания пространств имен глобального объекта
Stars: ✭ 14 (-6.67%)
Mutual labels:  standalone
s3-monitoring
No description or website provided.
Stars: ✭ 14 (-6.67%)
Mutual labels:  uwsgi
moinmoin-wiki
Docker image based on Debian with the Moinmoin wiki engine, uwsgi, nginx and self signed SSL.
Stars: ✭ 33 (+120%)
Mutual labels:  uwsgi
docker-django-nginx-uwsgi-postgres-load-balance-tutorial
實戰 Docker + Django + Nginx + uWSGI + Postgres - Load Balance -Tutorial 📝
Stars: ✭ 102 (+580%)
Mutual labels:  uwsgi
WhatsappWeb4j
Standalone fully-featured Whatsapp Multi Device Web API for Java and Kotlin
Stars: ✭ 198 (+1220%)
Mutual labels:  standalone

udata all-in-one Docker image

Quick start

cd docker-udata
docker-compose up

To be able to upload files, you will need to access the docker instance through an URL with a tld, i.e. localhost.local for example (set it in your /etc/hosts on your Unix machine).

Check that localhost.local:7000 is available in a browser.

Details

This Docker image provide udata as well as known plugins and gouvfr theme.

It is packaged to run within uwsgi with gevent support.

By default, it exposes the frontend on the port 7000 and expect the following services:

  • MongoDB on mongodb:27017
  • Elasticsearch on elasticsearch:9200
  • Redis on redis:6379

and use the following paths:

  • /udata/udata.cfg for udata configuration
  • /udata/fs for storage root (as a volume by default)
  • /udata/public for public assets root
  • /udata/uwsgi/*.ini for uwsgi configuration files
  • /src/*/setup.py for extra development packages to install

You can customize configuration by providing a custom udata.cfg or custom uwsgi ini file.

A sample docker-compose.yml file is also available in the repository.

Running docker image service

Fetch the latest Docker image version

docker pull udata/udata

Then you can run the container with different configurations:

  • a custom udata configuration mounted (here a local udata.cfg):

    docker run -v /absolute/path/to/udata.cfg:/udata/udata.cfg udata/udata
  • with custom uwsgi configurations (here contained in the uwsgi directory):

    docker run -v `$PWD`/uwsgi:/udata/uwsgi udata/udata
  • with file storage as local volume binding:

    docker run -v /path/to/storage:/udata/fs udata/udata

Running standalone instance

You can run standalone (front/worker/beat) instance with the front, worker and beat commands:

docker run udata/udata front
docker run udata/udata worker
docker run udata/udata beat

Running udata commands

You can also execute udata commands with:

docker run [DOCKER OPTIONS] udata/udata [UDATA COMMAND]

By example, to initialise the database with fixtures and initialize the search index:

docker run -it --rm udata/udata init

List all commands with:

docker run -it --rm udata/udata --help

Note: Some commands requires either MongoDB, Redis or Elasticsearch to be up and ready.

Running celery commands

You are also able to run celery commands with:

docker run -it --rm udata/udata celery status

Running bash

For debugging purpose you can acces a bash prompt with:

docker run [DOCKER OPTIONS] udata/udata bash

Installing extra sources

⚠️ Theme management has been modified when migrating to udata 3. This section is under renovation.

You can install extra sources by mounting directories as subdirectories of /src/.

Given you have a udata theme awesome-theme in my-theme directory and you want to use docker to hack on it with live reload, you need to have the following line in your udata.cfg:

THEME = 'awesome-theme'

Then you can run the udata Development server with:

docker run -it -v `$PWD`/my-theme:/src/my-theme -v `$PWD`/udata.cfg:/udata/udata.cfg --rm udata/udata serve

Your theme will be installed and activated.

See the sample/theme directory to see a full theme development using docker-compose.

Examples

You can see some docker-compose configuration examples in the sample directory of this repository.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].